StorageFolder.DisplayType StorageFolder.DisplayType StorageFolder.DisplayType StorageFolder.DisplayType StorageFolder.DisplayType Property

Definition

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

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

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

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.