IVsDataObjectStore.SelectObjects (Método) (String, array<Object )

Devuelve una colección de objetos de datos para el tipo especificado del almacén de objeto, filtrados por las restricciones especificadas.

Espacio de nombres:  Microsoft.VisualStudio.Data.Services
Ensamblado:  Microsoft.VisualStudio.Data.Services (en Microsoft.VisualStudio.Data.Services.dll)

Sintaxis

'Declaración
Function SelectObjects ( _
    typeName As String, _
    restrictions As Object() _
) As IVsDataObjectCollection
IVsDataObjectCollection SelectObjects(
    string typeName,
    Object[] restrictions
)
IVsDataObjectCollection^ SelectObjects(
    String^ typeName, 
    array<Object^>^ restrictions
)
abstract SelectObjects : 
        typeName:string * 
        restrictions:Object[] -> IVsDataObjectCollection 
function SelectObjects(
    typeName : String, 
    restrictions : Object[]
) : IVsDataObjectCollection

Parámetros

  • typeName
    Tipo: System.String
    El nombre origen- específico de los datos del tipo especificado para recuperar los objetos de datos de.
  • restrictions
    Tipo: array<System.Object[]
    Las restricciones para filtrar los objetos de datos devueltos.

Valor devuelto

Tipo: Microsoft.VisualStudio.Data.Services.IVsDataObjectCollection
IVsDataObjectCollection que contiene los objetos de datos.

Excepciones

Excepción Condición
ArgumentNullException

El valor del parámetro typeName es nullreferencia null (Nothing en Visual Basic).

ArgumentException

La restricción necesaria falta.

Seguridad de .NET Framework

Vea también

Referencia

IVsDataObjectStore Interfaz

SelectObjects (Sobrecarga)

Microsoft.VisualStudio.Data.Services (Espacio de nombres)