ReadOnlyEventColumnInfoCollection.Item 属性 (String)

Gets the ReadOnlyEventColumnInfo 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 ReadOnlyEventColumnInfo 
    Get
用法
Dim instance As ReadOnlyEventColumnInfoCollection 
Dim name As String 
Dim value As ReadOnlyEventColumnInfo 

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

参数

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

属性值

类型:Microsoft.SqlServer.Management.XEvent.ReadOnlyEventColumnInfo
The ReadOnlyEventColumnInfo object with the specified name.

请参阅

参考

ReadOnlyEventColumnInfoCollection 类

Item 重载

Microsoft.SqlServer.Management.XEvent 命名空间