Compartir a través de


XmlSchemaCollectionCollection.ItemById Método

Extracts a member from the XmlSchemaCollectionCollection collection using a system-defined, unique identifier.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function ItemById ( _
    id As Integer _
) As XmlSchemaCollection
'Uso
Dim instance As XmlSchemaCollectionCollection 
Dim id As Integer 
Dim returnValue As XmlSchemaCollection 

returnValue = instance.ItemById(id)
public XmlSchemaCollection ItemById(
    int id
)
public:
XmlSchemaCollection^ ItemById(
    int id
)
member ItemById : 
        id:int -> XmlSchemaCollection
public function ItemById(
    id : int
) : XmlSchemaCollection

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo.XmlSchemaCollection
An XmlSchemaCollection object that has the specified ID value.

Ejemplos

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

Vea también

Referencia

XmlSchemaCollectionCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Usar colecciones