Retrieves a list of mapped data objects, filtered by the specified restrictions.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Function SelectMappedObjects(Of T As IVsDataMappedObject) ( _
restrictions As Object() _
) As IList(Of T)
'使用
Dim instance As IVsDataMappedObjectSelector
Dim restrictions As Object()
Dim returnValue As IList(Of T)
returnValue = instance.SelectMappedObjects(restrictions)
IList<T> SelectMappedObjects<T>(
Object[] restrictions
) where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject
IList<T>^ SelectMappedObjects(
array<Object^>^ restrictions
)
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
restrictions
Type: []An array of restrictions that restrict the objects returned from the object store to the ones matching these restrictions.
Return Value
Type: System.Collections.Generic.IList<T>
A list of IVsDataMappedObject objects, filtered by the specified restrictions.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The restrictions are not valid. |
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