SystemProperties class

SystemProperties class

Provides string values for indexing names of common Windows file properties such as System.Title, and also references helper objects that provide indexing names for properties of specific file types (for example video files).

Syntax


var systemProperties = Windows.Storage.SystemProperties;

Members

The SystemProperties class has these types of members:

Methods

The SystemProperties class inherits methods from the Object class (C#/VB/C++).

Properties

The SystemProperties class has these properties.

PropertyAccess typeDescription

Audio

Read-only

Gets an object that provides the indexing names of Windows file properties for System.Audio.

Author

Read-only

Gets the name of the System.Author property (one of the Windows file properties).

Comment

Read-only

Gets the name of the System.Comment property (one of the Windows file properties).

GPS

Read-only

Gets an object that provides the indexing names of Windows system file properties for System.GPS.

Image

Read-only

Gets an object that provides the indexing names of Windows file properties for System.Image.

ItemNameDisplay

Read-only

Gets the name of the System.ItemNameDisplay property (one of the Windows file properties).

Keywords

Read-only

Gets the name of the System.Keywords property (one of the Windows file properties).

Media

Read-only

Gets an object that provides the indexing names of system media file properties such as System.Duration.

Music

Read-only

Gets an object that provides the indexing names of Windows file properties for System.Music.

Photo

Read-only

Gets an object that provides the indexing names of Windows file properties for System.Photo.

Rating

Read-only

Gets the name of the System.Rating property (one of the Windows file properties).

Title

Read-only

Gets the name of the System.Title property (one of the Windows file properties).

Video

Read-only

Gets an object that provides the indexing names of Windows file properties for System.Video.

 

Remarks

The scenario for using SystemProperties is when you are defining search indexes or other operations where you want the indexing to use the same name for a property that the system has already defined, as one of the Windows file properties.

Some of the SystemProperties properties return a string name directly. For example, SystemProperties.Title returns the string "System.Title". Some of the SystemProperties properties return a helper object. For example, SystemProperties.Video returns a SystemVideoProperties object. You can then use this object's properties to get the name for a video-specific Windows file property, for example SystemVideoProperties.FrameHeight returns "System.Video.FrameHeight".

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06030000)]

 

 

Show:
© 2017 Microsoft