Propriété TypeInfoCollection.Item (String)
Gets the TypeInfo object with the specified name.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As TypeInfo
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System.String
A string value that specifies the name.
Valeur de propriété
Type : Microsoft.SqlServer.Management.XEvent.TypeInfo
Returns True if the collection contains the TypeInfo object with the specified name, otherwise False.