Partilhar via


QueryRun.get Method

Definition

Overloads

get(Int32)

Retrieves the record fetched by the previous call to next method.

get(Int32, Int32)

get(Int32)

Retrieves the record fetched by the previous call to next method.

public:
 virtual Microsoft::Dynamics::Ax::Xpp::Common ^ get(int num1);
public virtual Microsoft.Dynamics.Ax.Xpp.Common get (int num1);
abstract member get : int -> Microsoft.Dynamics.Ax.Xpp.Common
override this.get : int -> Microsoft.Dynamics.Ax.Xpp.Common
Public Overridable Function get (num1 As Integer) As Common

Parameters

num1
Int32

Returns

Returns the record fetched from the data source identified by the arguments.

Remarks

The data source from which to retrieve the record is specified by the table assigned to the data source and by an optional parameter. Instead of supplying the table (and optional parameter), you can use the getNo method, which takes the data source number as an argument.

Applies to

get(Int32, Int32)

public:
 virtual Microsoft::Dynamics::Ax::Xpp::Common ^ get(int _table, int _occurrence);
public virtual Microsoft.Dynamics.Ax.Xpp.Common get (int _table, int _occurrence);
abstract member get : int * int -> Microsoft.Dynamics.Ax.Xpp.Common
override this.get : int * int -> Microsoft.Dynamics.Ax.Xpp.Common
Public Overridable Function get (_table As Integer, _occurrence As Integer) As Common

Parameters

_table
Int32

The data source to be addressed; optional. The number of the data source with the given table; 1-based. If more than one data source has the same table assigned to it, this (optional) parameter can be used to specify which one is to be addressed. It specifies the number of the data source with the given table. Thus, if the CustTable table is assigned to two data sources, and the second data source is required, this argument should have the value 2.

_occurrence
Int32

The data source to be addressed; optional. The number of the data source with the given table; 1-based. If more than one data source has the same table assigned to it, this (optional) parameter can be used to specify which one is to be addressed. It specifies the number of the data source with the given table. Thus, if the CustTable table is assigned to two data sources, and the second data source is required, this argument should have the value 2.

Returns

Applies to