Condividi tramite


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

'Dichiarazione
ReadOnly Property Extension As String
    Get
'Utilizzo
Dim instance As IFileAssociation
Dim value As String

value = instance.Extension
string Extension { get; }
property String^ Extension {
    String^ get ();
}
abstract Extension : string
function get Extension () : String

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

IFileAssociation Members

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace

Item