แชร์ผ่าน


ReportDesign.addSection Method

Definition

Overloads

addSection(ReportBlockType)

Adds a report section to a design.

addSection(ReportBlockType, Int32)
addSection(ReportBlockType, Int32, Int32)

addSection(ReportBlockType)

Adds a report section to a design.

public:
 virtual Dynamics::AX::Application::ReportSection ^ addSection(Dynamics::AX::Application::ReportBlockType type1);
public virtual Dynamics.AX.Application.ReportSection addSection (Dynamics.AX.Application.ReportBlockType type1);
abstract member addSection : Dynamics.AX.Application.ReportBlockType -> Dynamics.AX.Application.ReportSection
override this.addSection : Dynamics.AX.Application.ReportBlockType -> Dynamics.AX.Application.ReportSection
Public Overridable Function addSection (type1 As ReportBlockType) As ReportSection

Parameters

Returns

The section that is created.

Remarks

This method creates a generated design if it does not already exist. If the sectionType parameter is set to Header, Body, or Footer, this method creates a section group if it does not already exist.

Applies to

addSection(ReportBlockType, Int32)

public:
 virtual Dynamics::AX::Application::ReportSection ^ addSection(Dynamics::AX::Application::ReportBlockType type1, int num1);
public virtual Dynamics.AX.Application.ReportSection addSection (Dynamics.AX.Application.ReportBlockType type1, int num1);
abstract member addSection : Dynamics.AX.Application.ReportBlockType * int -> Dynamics.AX.Application.ReportSection
override this.addSection : Dynamics.AX.Application.ReportBlockType * int -> Dynamics.AX.Application.ReportSection
Public Overridable Function addSection (type1 As ReportBlockType, num1 As Integer) As ReportSection

Parameters

num1
Int32

Returns

Applies to

addSection(ReportBlockType, Int32, Int32)

public:
 virtual Dynamics::AX::Application::ReportSection ^ addSection(Dynamics::AX::Application::ReportBlockType _sectionType, int _tableId, int _fieldId);
public virtual Dynamics.AX.Application.ReportSection addSection (Dynamics.AX.Application.ReportBlockType _sectionType, int _tableId, int _fieldId);
abstract member addSection : Dynamics.AX.Application.ReportBlockType * int * int -> Dynamics.AX.Application.ReportSection
override this.addSection : Dynamics.AX.Application.ReportBlockType * int * int -> Dynamics.AX.Application.ReportSection
Public Overridable Function addSection (_sectionType As ReportBlockType, _tableId As Integer, _fieldId As Integer) As ReportSection

Parameters

_sectionType
ReportBlockType

If the sectionType parameter is set to Header, Body, or Footer, the dataField property of the section group that the section belongs to; optional.

_tableId
Int32

If the sectionType parameter is set to Header, Body, or Footer, the dataField property of the section group that the section belongs to; optional.

_fieldId
Int32

If the sectionType parameter is set to Header, Body, or Footer, the dataField property of the section group that the section belongs to; optional.

Returns

Applies to