Propriété Item
Gets the element in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly : Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)
Syntaxe
'Déclaration
ReadOnly Default Property Item ( _
name As String _
) As T
Get
'Utilisation
Dim instance As IMetadataCollection
Dim name As String
Dim value As T
value = instance(name)
T this[
string name
] { get; }
property T default[String^ name] {
T get (String^ name);
}
abstract Item : 'T
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
The name of the element.
Valeur de propriété
Type : T
The specified element.