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
'使用
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);
}
JScript does not support indexed properties.
Parameters
key
Type: System.ObjectThe name of the file.
Property Value
Type: Microsoft.VisualStudio.ManagedInterfaces.Publish.IPublishFile
Permissions
- 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