IVsDataMappedObjectSelector.SelectMappedObjects<T> Method (array<Object , Boolean)
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
'Declaration
Function SelectMappedObjects(Of T As IVsDataMappedObject) ( _
restrictions As Object(), _
refresh As Boolean _
) As IList(Of T)
IList<T> SelectMappedObjects<T>(
Object[] restrictions,
bool refresh
)
where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject
IList<T>^ SelectMappedObjects(
array<Object^>^ restrictions,
bool refresh
)
abstract SelectMappedObjects :
restrictions:Object[] *
refresh:bool -> IList<'T> when 'T : IVsDataMappedObject
JScript does not support generic types or methods.
Type Parameters
- T
The type of the parameter.
Parameters
restrictions
Type: array<System.Object[]A list of identifiers that restrict the objects returned from the object store to the ones matching these restrictions.
refresh
Type: System.BooleanA Boolean value indicating whether to update the list of required restrictions and properties.
Return Value
Type: System.Collections.Generic.IList<T>
A list of IVsDataMappedObject objects matching the specified restrictions.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The restrictions are not valid. |
.NET Framework Security
- 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.