StorageFolder.DisplayType Property

Definition

Gets the user-friendly description of the type of the folder; for example, 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

Property Value

String

Platform::String

winrt::hstring

The user-friendly description of the type of the folder; for example, JPEG image.

Implements

Remarks

For an ordinary folder in the file system, the DisplayType property returns File folder.

Here are some examples of the value of the DisplayType property when you use a CommonFolderQuery value other than DefaultQuery.

  • If you specify GroupByType, the value of DisplayType may be JPEG image or PNG image. The folders have the same name as the display type.
  • If you specify GroupByMonth, the value of DisplayType is Stack. The folders have names like October 2014 or November 2014.

Applies to