IFileAssociationCollection.Item Property
Gets the file association for a specified file name extension.
Namespace: Microsoft.VisualStudio.ManagedInterfaces.Publish
Assembly: Microsoft.VisualStudio.ManagedInterfaces.9.0 (in Microsoft.VisualStudio.ManagedInterfaces.9.0.dll)
Syntax
'宣言
ReadOnly Default Property Item ( _
key As Object _
) As IFileAssociation
IFileAssociation this[
Object key
] { get; }
Parameters
- key
Type: System.Object
The file name extension.
Property Value
Type: Microsoft.VisualStudio.ManagedInterfaces.Publish.IFileAssociation
The file association for the file name extension; or nulla null reference (Nothing in Visual Basic) if the file name extension is not found.
.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.
See Also
Reference
IFileAssociationCollection Interface