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
'宣言
Function SelectMappedObjects(Of T As IVsDataMappedObject) ( _
specificTypeName As String _
) As IList(Of T)
'使用
Dim instance As IVsDataMappedObjectSelector
Dim specificTypeName As String
Dim returnValue As IList(Of T)
returnValue = instance.SelectMappedObjects(specificTypeName)
IList<T> SelectMappedObjects<T>(
string specificTypeName
) where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject
IList<T>^ SelectMappedObjects(
String^ specificTypeName
)
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
specificTypeName
Type: System.StringThe 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. |
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataMappedObjectSelector Interface