Share via


TargetFieldCollection.Item Property (String)

Gets the TargetField 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 TargetField 
    Get
'Usage
Dim instance As TargetFieldCollection 
Dim name As String 
Dim value As TargetField 

value = instance(name)
public TargetField this[
    string name
] { get; }
public:
property TargetField^ default[String^ name] {
    TargetField^ get (String^ name);
}
member Item : TargetField
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.TargetField
The TargetField object with the specified name

See Also

Reference

TargetFieldCollection Class

Item Overload

Microsoft.SqlServer.Management.XEvent Namespace