Compartir a través de


IVsDataObjectSelector.SelectObjects Method

When implemented by a class, returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions and properties.

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

Syntax

'Declaration
Function SelectObjects ( _
    typeName As String, _
    restrictions As Object(), _
    properties As String() _
) As IVsDataReader
IVsDataReader SelectObjects(
    string typeName,
    Object[] restrictions,
    string[] properties
)
IVsDataReader^ SelectObjects(
    String^ typeName, 
    array<Object^>^ restrictions, 
    array<String^>^ properties
)
abstract SelectObjects : 
        typeName:string * 
        restrictions:Object[] * 
        properties:string[] -> IVsDataReader
function SelectObjects(
    typeName : String, 
    restrictions : Object[], 
    properties : String[]
) : IVsDataReader

Parameters

  • typeName
    Type: System.String

    The data source–specific name of the specified type to retrieve data objects for.

  • restrictions
    Type: array<System.Object[]

    The restrictions for filtering the data objects returned.

  • properties
    Type: array<System.String[]

    Specifies the property values of the requested data objects. The current version of DDEX does not support properties.

Return Value

Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
An IVsDataReader object representing a data reader for the selected data objects.

.NET Framework Security

See Also

Reference

IVsDataObjectSelector Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace