EventColumnInfoCollection.Item Property (String)
Gets an EventColumnInfo object specified by the name parameter from the collection.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As EventColumnInfo
Get
'Usage
Dim instance As EventColumnInfoCollection
Dim name As String
Dim value As EventColumnInfo
value = instance(name)
public EventColumnInfo this[
string name
] { get; }
public:
property EventColumnInfo^ default[String^ name] {
EventColumnInfo^ get (String^ name);
}
member Item : EventColumnInfo
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A string that specifies the name of the EventColumnInfo object.
Property Value
Type: Microsoft.SqlServer.Management.XEvent.EventColumnInfo
Returns an EventColumnInfo object specified by the name parameter