Compartilhar 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

'Declaração
ReadOnly Property Extension As String
string Extension { get; }

Property Value

Type: System.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