Condividi tramite


Metodo IVsDataMappedObjectSelector.SelectMappedObjects<T> (array<Object[])

Recupera un elenco di oggetti dati mappati, filtrato da restrizioni specificate.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Sintassi

'Dichiarazione
Function SelectMappedObjects(Of T As IVsDataMappedObject) ( _
    restrictions As Object() _
) As IList(Of T)
IList<T> SelectMappedObjects<T>(
    Object[] restrictions
)
where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject 
IList<T>^ SelectMappedObjects(
    array<Object^>^ restrictions
)
abstract SelectMappedObjects : 
        restrictions:Object[] -> IList<'T>  when 'T : IVsDataMappedObject
JScript non supporta i tipi o i metodi generici.

Parametri di tipo

  • T
    Tipo del parametro.

Parametri

  • restrictions
    Tipo: array<Object[]

    Una matrice di restrizioni che limitano gli oggetti restituiti dall'oggetto ai corrispondenti alle restrizioni.

Valore restituito

Tipo: IList<T>
Un elenco di oggetti IVsDataMappedObject, filtrato da restrizioni specificate.

Eccezioni

Eccezione Condizione
ArgumentException

Le restrizioni non sono valide.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsDataMappedObjectSelector Interfaccia

Overload SelectMappedObjects

Spazio dei nomi Microsoft.VisualStudio.Data.Services