مشاركة عبر


TypeInfoCollection.Item Property (String)

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

value = instance(name)
public TypeInfo this[
    string name
] { get; }
public:
virtual property TypeInfo^ default[String^ name] {
    TypeInfo^ get (String^ name) sealed;
}
abstract Item : TypeInfo 
override Item : TypeInfo
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.TypeInfo
Returns True if the collection contains the TypeInfo object with the specified name, otherwise False.

See Also

Reference

TypeInfoCollection Class

Item Overload

Microsoft.SqlServer.Management.XEvent Namespace