Windows Dev Center

FileSystemInfo.Extension Property

Gets the string representing the extension part of the file.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public string Extension { get; }

Property Value

Type: System.String
A string containing the FileSystemInfo extension.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft