Share via


ReadOnlyEventColumnInfoCollection.Item Property (String)

Gets the ReadOnlyEventColumnInfo object with the specified name.

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 ReadOnlyEventColumnInfo 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

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

See Also

Reference

ReadOnlyEventColumnInfoCollection Class

Item Overload

Microsoft.SqlServer.Management.XEvent Namespace