TypeInfoCollection.Item 属性 (String)

Gets the TypeInfo object with the specified name.

命名空间:  Microsoft.SqlServer.Management.XEvent
程序集:  Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    name As String _
) As TypeInfo 
    Get
用法
Dim instance As TypeInfoCollection 
Dim name As String 
Dim value As TypeInfo 

value = instance(name)
public TypeInfo this[
    string name
] { get; }
public:
virtual property TypeInfo^ default[String^ name] {
    TypeInfo^ get (String^ name) sealed;
}
abstract Item : TypeInfo 
override Item : TypeInfo
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

  • name
    类型:System.String
    A string value that specifies the name.

属性值

类型:Microsoft.SqlServer.Management.XEvent.TypeInfo
Returns True if the collection contains the TypeInfo object with the specified name, otherwise False.

请参阅

参考

TypeInfoCollection 类

Item 重载

Microsoft.SqlServer.Management.XEvent 命名空间