SystemProperties class

Applies to Windows and Windows Phone

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;

Attributes

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

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-onlyGets an object that provides the indexing names of Windows file properties for System.Audio.

Author

Read-onlyGets the name of the System.Author property (one of the Windows file properties).

Comment

Read-onlyGets the name of the System.Comment property (one of the Windows file properties).

GPS

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

Image

Read-onlyGets an object that provides the indexing names of Windows file properties for System.Image.

ItemNameDisplay

Read-onlyGets the name of the System.ItemNameDisplay property (one of the Windows file properties).

Keywords

Read-onlyGets the name of the System.Keywords property (one of the Windows file properties).

Media

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

Music

Read-onlyGets an object that provides the indexing names of Windows file properties for System.Music.

Photo

Read-onlyGets an object that provides the indexing names of Windows file properties for System.Photo.

Rating

Read-onlyGets the name of the System.Rating property (one of the Windows file properties).

Title

Read-onlyGets the name of the System.Title property (one of the Windows file properties).

Video

Read-onlyGets 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

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

 

 

Show:
© 2014 Microsoft