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

'宣言
Function SelectObjects ( _
    typeName As String, _
    restrictions As Object(), _
    properties As String() _
) As IVsDataReader
'使用
Dim instance As IVsDataObjectSelector
Dim typeName As String
Dim restrictions As Object()
Dim properties As String()
Dim returnValue As IVsDataReader

returnValue = instance.SelectObjects(typeName, _
    restrictions, properties)
IVsDataReader SelectObjects(
    string typeName,
    Object[] restrictions,
    string[] properties
)
IVsDataReader^ SelectObjects(
    String^ typeName, 
    array<Object^>^ restrictions, 
    array<String^>^ properties
)
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: []

    The restrictions for filtering the data objects returned.

  • properties
    Type: []

    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.

Permissions

See Also

Reference

IVsDataObjectSelector Interface

IVsDataObjectSelector Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace