Share via


FileSystemInfo.Extension Property

Gets the string representing the extension part of the file.

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

Syntax

public string Extension { get; }

Property Value

A string containing the FileSystemInfo extension.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

See Also

Reference

FileSystemInfo Class
FileSystemInfo Members
System.IO Namespace