Condividi tramite


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

'Dichiarazione
ReadOnly Default Property Item ( _
    key As Object _
) As IFileAssociation
    Get
'Utilizzo
Dim instance As IFileAssociationCollection
Dim key As Object
Dim value As IFileAssociation

value = instance(key)
IFileAssociation this[
    Object key
] { get; }
property IFileAssociation^ default[Object^ key] {
    IFileAssociation^ get (Object^ key);
}
abstract Item : IFileAssociation
JScript does not support indexed properties.

Parameters

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

See Also

Reference

IFileAssociationCollection Interface

IFileAssociationCollection Members

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace

Extension