EventFieldCollection.Item 属性 (String)

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

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

参数

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

属性值

类型:Microsoft.SqlServer.Management.XEvent.EventField
A EventField object.

请参阅

参考

EventFieldCollection 类

Item 重载

Microsoft.SqlServer.Management.XEvent 命名空间