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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.