Partager via


Propriété XmlSchemaCollectionCollection.Item (String)

Gets an XmlSchemaCollection object in the collection by name.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As XmlSchemaCollection 
    Get
'Utilisation
Dim instance As XmlSchemaCollectionCollection 
Dim name As String 
Dim value As XmlSchemaCollection 

value = instance(name)
public XmlSchemaCollection this[
    string name
] { get; }
public:
property XmlSchemaCollection^ default[String^ name] {
    XmlSchemaCollection^ get (String^ name);
}
member Item : XmlSchemaCollection
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.XmlSchemaCollection
An XmlSchemaCollection object value that represents the XML schema collection.

Exemples

How to Reference an Object by Using a Collection in Visual Basic .NET

Voir aussi

Référence

XmlSchemaCollectionCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation de collections