StorageFolder.DisplayType プロパティ

定義

フォルダーの種類のわかりやすい説明を取得します。たとえば、 JPEG imageです。

public:
 property Platform::String ^ DisplayType { Platform::String ^ get(); };
winrt::hstring DisplayType();
public string DisplayType { get; }
var string = storageFolder.displayType;
Public ReadOnly Property DisplayType As String

プロパティ値

String

Platform::String

winrt::hstring

フォルダーの種類のわかりやすい説明。たとえば、 JPEG imageです。

実装

注釈

ファイル システム内の通常のフォルダーの場合、 DisplayType プロパティは を返します File folder

DefaultQuery 以外の CommonFolderQuery 値を使用する場合の DisplayType プロパティの値の例を次に示します。

  • GroupByType を指定した場合、DisplayType の値は または PNG imageになりますJPEG image。 フォルダーの名前は表示の種類と同じです。
  • GroupByMonth を指定すると、DisplayType の値は になりますStack。 フォルダーには、 や November 2014などのOctober 2014名前があります。

適用対象