共用方式為


DataObjectSelector.SelectObjects Method

Definition

Overloads

SelectObjects(String, Object[], String[])

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

SelectObjects(String, Object[], String[], Object[])

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

SelectObjects(String, Object[], String[])

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

public:
 virtual Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataReader ^ SelectObjects(System::String ^ typeName, cli::array <System::Object ^> ^ restrictions, cli::array <System::String ^> ^ properties);
public Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader SelectObjects (string typeName, object[] restrictions, string[] properties);
abstract member SelectObjects : string * obj[] * string[] -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
override this.SelectObjects : string * obj[] * string[] -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
Public Function SelectObjects (typeName As String, restrictions As Object(), properties As String()) As IVsDataReader

Parameters

typeName
String

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

restrictions
Object[]

The restrictions for filtering the data objects returned.

properties
String[]

Specify null because this is not used.

Returns

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

Implements

Applies to

SelectObjects(String, Object[], String[], Object[])

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

protected:
 abstract Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataReader ^ SelectObjects(System::String ^ typeName, cli::array <System::Object ^> ^ restrictions, cli::array <System::String ^> ^ properties, cli::array <System::Object ^> ^ parameters);
protected abstract Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader SelectObjects (string typeName, object[] restrictions, string[] properties, object[] parameters);
abstract member SelectObjects : string * obj[] * string[] * obj[] -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataReader
Protected MustOverride Function SelectObjects (typeName As String, restrictions As Object(), properties As String(), parameters As Object()) As IVsDataReader

Parameters

typeName
String

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

restrictions
Object[]

The restrictions for filtering the data objects returned.

properties
String[]

Specify null because this is not used.

parameters
Object[]

An array containing the parameters for the specified type.

Returns

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

Applies to