Share via


PredCompareInfoCollection.Item Property (String)

Gets the PredCompareInfo object identified by the 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 PredCompareInfo 
    Get
'Usage
Dim instance As PredCompareInfoCollection 
Dim name As String 
Dim value As PredCompareInfo 

value = instance(name)
public PredCompareInfo this[
    string name
] { get; }
public:
virtual property PredCompareInfo^ default[String^ name] {
    PredCompareInfo^ get (String^ name) sealed;
}
abstract Item : PredCompareInfo 
override Item : PredCompareInfo
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.PredCompareInfo
The PredCompareInfo object identified by the name.

See Also

Reference

PredCompareInfoCollection Class

Item Overload

Microsoft.SqlServer.Management.XEvent Namespace