Share via


IFileAssociation.Extension Property

Gets the file name extension for the file type.

Namespace:  Microsoft.VisualStudio.ManagedInterfaces.Publish
Assembly:  Microsoft.VisualStudio.ManagedInterfaces.9.0 (in Microsoft.VisualStudio.ManagedInterfaces.9.0.dll)

Syntax

'Declaration
ReadOnly Property Extension As String
string Extension { get; }
property String^ Extension {
    String^ get ();
}
abstract Extension : string with get
function get Extension () : String

Property Value

Type: String
The file name extension for the file type.

Remarks

The file name extension for a file type includes the period (.). For example, ".exe" is the file name extension for an executable file.

The file name extension is used as an index for collections that implement the IFileAssociationCollection interface.

.NET Framework Security

See Also

Reference

IFileAssociation Interface

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace

Item