StorageFolder.DisplayType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
orPNG 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 likeOctober 2014
orNovember 2014
.