XmlSchemaCollectionCollection.Item[String, String] XmlSchemaCollectionCollection.Item[String, String] XmlSchemaCollectionCollection.Item[String, String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets an XmlSchemaCollection object in the collection by index number.

Item[String] Item[String] Item[String]

Gets an XmlSchemaCollection object in the collection by name.

Item[String, String] Item[String, String] Item[String, String]

Gets an XmlSchemaCollection object in the collection by name and schema.

Item[Int32] Item[Int32] Item[Int32]

Gets an XmlSchemaCollection object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::XmlSchemaCollection ^ default[int] { Microsoft::SqlServer::Management::Smo::XmlSchemaCollection ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.XmlSchemaCollection this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As XmlSchemaCollection
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the XmlSchemaCollection object in the XmlSchemaCollectionCollection collection.

Property Value

An XmlSchemaCollection object value that represents the XML schema collection.

Examples

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

Item[String] Item[String] Item[String]

Gets an XmlSchemaCollection object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::XmlSchemaCollection ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::XmlSchemaCollection ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.XmlSchemaCollection this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As XmlSchemaCollection
Parameters
name
String String String

A String value that specifies the name of the XmlSchemaCollection object in the XmlSchemaCollectionCollection collection.

Property Value

An XmlSchemaCollection object value that represents the XML schema collection.

Examples

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

Item[String, String] Item[String, String] Item[String, String]

Gets an XmlSchemaCollection object in the collection by name and schema.

public:
 property Microsoft::SqlServer::Management::Smo::XmlSchemaCollection ^ default[System::String ^, System::String ^] { Microsoft::SqlServer::Management::Smo::XmlSchemaCollection ^ get(System::String ^ name, System::String ^ schema); };
public Microsoft.SqlServer.Management.Smo.XmlSchemaCollection this[string name, string schema] { get; }
Default Public ReadOnly Property Item(name As String, schema As String) As XmlSchemaCollection
Parameters
name
String String String

A String value that specifies the name of the XmlSchemaCollection object in the XmlSchemaCollectionCollection collection.

schema
String String String

A String value that specifies the name of the schema.

Property Value

An XmlSchemaCollection object value that represents the XML schema collection.

Examples

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

Applies to