FileSystemInfo.Extension Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the string representing the extension part of the file.

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


Public ReadOnly Property Extension As String
public string Extension { get; }

Property Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


FileSystemInfo Class

System.IO Namespace