Share via


NumberSeqScope.getDefaultFormatSegments Method [AX 2012]

Gets a container that has the format segment information for this NumberSeqScope object and the specified scope and number.

Syntax

public container getDefaultFormatSegments(int _highestNumber, boolean _includeScopeSegments)

Run On

Called

Parameters

  • _highestNumber
    Type: int
    The highest number for which to create the format segments.
  • _includeScopeSegments
    Type: boolean

Return Value

Type: container
A container that has the format segment information, based on the specified scope and number.

Remarks

Each segment in the returned container is in itself a container that contains two elements:

  1. The NumberSeqParameterType enumeration value that describes the parameter type, -1 for a segment that contains a constant literal value, or -2 for a segment that contains formatting characters.

  2. The value of the segment. The type of the value is specific to the parameter type.

See Also

Reference

NumberSeqScope Class