Share via


IVsDataMappedObjectSelector.SelectMappedObjects<T> Method (String)

Retrieves a list of mapped data objects of the specified type.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
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 does not support generic types or methods.

Type Parameters

  • T
    The type of the parameter.

Parameters

  • specificTypeName
    Type: System.String

    The name of the type to retrieve mapped data objects for. This is the generic data type name, which is found in the data object store XML in the <MappedType> element.

Return Value

Type: System.Collections.Generic.IList<T>
A list of IVsDataMappedObject objects representing the mapped objects for the specified type.

Exceptions

Exception Condition
ArgumentException

The type name is not valid.

NotSupportedException

The type name is not supported.

.NET Framework Security

See Also

Reference

IVsDataMappedObjectSelector Interface

SelectMappedObjects Overload

Microsoft.VisualStudio.Data.Services Namespace