Propriété XmlSchemaCollectionCollection.Item (String, String)
Gets an XmlSchemaCollection object in the collection by name and schema.
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, _
schema As String _
) As XmlSchemaCollection
Get
'Utilisation
Dim instance As XmlSchemaCollectionCollection
Dim name As String
Dim schema As String
Dim value As XmlSchemaCollection
value = instance(name, schema)
public XmlSchemaCollection this[
string name,
string schema
] { get; }
public:
property XmlSchemaCollection^ default[String^ name, String^ schema] {
XmlSchemaCollection^ get (String^ name, String^ schema);
}
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
- name
Type : System.String
A String value that specifies the name of the XmlSchemaCollection object in the XmlSchemaCollectionCollection collection.
- schema
Type : System.String
A String value that specifies the name of the schema.
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
Espace de noms Microsoft.SqlServer.Management.Smo