Partager via


DataObjectSelector.SelectObjects Method (String, array<Object[], array<String[], array<Object )

Returns a data reader for the data objects retrieved from the object store, which are filtered by the specified restrictions, properties, and parameters.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected MustOverride Function SelectObjects ( _
    typeName As String, _
    restrictions As Object(), _
    properties As String(), _
    parameters As Object() _
) As IVsDataReader
protected abstract IVsDataReader SelectObjects(
    string typeName,
    Object[] restrictions,
    string[] properties,
    Object[] parameters
)
protected:
virtual IVsDataReader^ SelectObjects(
    String^ typeName, 
    array<Object^>^ restrictions, 
    array<String^>^ properties, 
    array<Object^>^ parameters
) abstract
abstract SelectObjects : 
        typeName:string * 
        restrictions:Object[] * 
        properties:string[] * 
        parameters:Object[] -> IVsDataReader
protected abstract function SelectObjects(
    typeName : String, 
    restrictions : Object[], 
    properties : String[], 
    parameters : Object[]
) : 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[]

    Specify nulla null reference (Nothing in Visual Basic) because this is not used.

  • parameters
    Type: array<System.Object[]

    An array containing the parameters for the specified type.

Return Value

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

Remarks

Notes to Inheritors

The derived class should implement this abstract method.

.NET Framework Security

See Also

Reference

DataObjectSelector Class

SelectObjects Overload

Microsoft.VisualStudio.Data.Framework Namespace