Gets the file with the specified name.
Namespace:  Microsoft.VisualStudio.ManagedInterfaces.Publish
Assembly:  Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)
Syntax
声明
ReadOnly Default Property Item ( _
    key As Object _
) As IPublishFile
    Get
用法
Dim instance As IPublishFileCollection
Dim key As Object
Dim value As IPublishFile
value = instance(key)
IPublishFile this[
    Object key
] { get; }
property IPublishFile^ default[Object^ key] {
    IPublishFile^ get (Object^ key);
}
abstract Item : IPublishFile
JScript does not support indexed properties.
Parameters
- key
Type: System.Object
The name of the file. 
Property Value
Type: Microsoft.VisualStudio.ManagedInterfaces.Publish.IPublishFile
IPublishFile.
.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
IPublishFileCollection Interface