DictTable.Fieldgroup Method

Definition

Overloads

Fieldgroup(Int32)

Returns the name of a field group that is specified by index.

Fieldgroup(Int32, TableScope)

Fieldgroup(Int32)

Returns the name of a field group that is specified by index.

public:
 virtual System::String ^ Fieldgroup(int FieldGroupNumber);
public virtual string Fieldgroup (int FieldGroupNumber);
abstract member Fieldgroup : int -> string
override this.Fieldgroup : int -> string
Public Overridable Function Fieldgroup (FieldGroupNumber As Integer) As String

Parameters

FieldGroupNumber
Int32

Returns

The name of the field group that is specified by the FieldGroupNumber parameter.

Remarks

The following example shows the retrieval of the names of the field groups for a table.

DictTable dt; 
int       i; 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    for (i =1; i <= dt.fieldGroupCnt(); i++) 
    { 
        print (dt.fieldGroup(i)); 
    } 
}

Applies to

Fieldgroup(Int32, TableScope)

public:
 virtual System::String ^ Fieldgroup(int FieldGroupNumber, Microsoft::Dynamics::Ax::Xpp::TableScope tableScope);
public virtual string Fieldgroup (int FieldGroupNumber, Microsoft.Dynamics.Ax.Xpp.TableScope tableScope);
abstract member Fieldgroup : int * Microsoft.Dynamics.Ax.Xpp.TableScope -> string
override this.Fieldgroup : int * Microsoft.Dynamics.Ax.Xpp.TableScope -> string
Public Overridable Function Fieldgroup (FieldGroupNumber As Integer, tableScope As TableScope) As String

Parameters

FieldGroupNumber
Int32
tableScope
TableScope

Returns

Applies to