DataObjectSelector.SelectObjects Method (String, [], [])

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.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

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

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

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

Return Value

Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader

An IVsDataReader object representing a data reader for the selected data objects.

Implements

IVsDataObjectSelector.SelectObjects(String, [], [])

Remarks

This method delegates the call to the SelectObjects method and passes null for the last parameter.

Permissions

See Also

Reference

DataObjectSelector Class

DataObjectSelector Members

SelectObjects Overload

Microsoft.VisualStudio.Data.Framework Namespace