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
'Usage
Dim instance As IFileAssociation 
Dim value As String 

value = instance.Extension
string Extension { get; }
property String^ Extension {
    String^ get ();
}
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

Change History

Date

History

Reason

July 2008

Added topic.

SP1 feature change.