FileOpenPickerUI.Title 屬性

定義

取得或設定要在檔案選擇器 UI 中顯示的標題,以識別檔案選擇器向使用者顯示的位置。

public:
 property Platform::String ^ Title { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Title();

void Title(winrt::hstring value);
public string Title { get; set; }
var string = fileOpenPickerUI.title;
fileOpenPickerUI.title = string;
Public Property Title As String

屬性值

String

Platform::String

winrt::hstring

要在檔案選擇器 UI 中顯示的標題。 此標題應該會識別使用者可在應用程式頁面上看到的位置和類型, (由提供檔案的應用程式) 裝載的檔案選擇器所裝載。

備註

身為檔案提供者,如果使用者流覽至另一個位置,或 AllowedFileTypes 變更,您應該考慮更新標題。

適用於

另請參閱