Condividi tramite


Metodo IVsDataMappedObjectSelector.SelectMappedObjects<T> (String)

Recupera un elenco di oggetti dati mappati del tipo specificato.

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) ( _
    specificTypeName As String _
) As IList(Of T)
IList<T> SelectMappedObjects<T>(
    string specificTypeName
)
where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject 
IList<T>^ SelectMappedObjects(
    String^ specificTypeName
)
abstract SelectMappedObjects : 
        specificTypeName:string -> IList<'T>  when 'T : IVsDataMappedObject
JScript non supporta i tipi o i metodi generici.

Parametri di tipo

  • T
    Tipo del parametro.

Parametri

  • specificTypeName
    Tipo: String

    Il nome del tipo per recuperare gli oggetti dati mappati per. Questo nome generico del tipo di dati, che si trova nel file XML dell'oggetto dati nell'elemento di <MappedType> .

Valore restituito

Tipo: IList<T>
Un elenco IVsDataMappedObject oggetti che rappresentano gli oggetti mappati per il tipo specificato.

Eccezioni

Eccezione Condizione
ArgumentException

Il nome del tipo non valido.

NotSupportedException

Il nome del tipo non è supportato.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsDataMappedObjectSelector Interfaccia

Overload SelectMappedObjects

Spazio dei nomi Microsoft.VisualStudio.Data.Services