Share via


SrsPrintDestinationTokens.expandToken Method [AX 2012]

Finds the expansion of a token.

Syntax

protected str expandToken(SrsPrintDestinationToken _token, SRSPrintDestinationSettings _settings)

Run On

Called

Parameters

Return Value

Type: str
The expanded token.

Exceptions

Exception Condition
Error

An supported SRSPrintMediumType enum value was specifid in _settings.

Remarks

The expansion is controlled by the chain of responsibility. Tokens that may have meaning to more than one token type will be expanded by the earliest token type on the chain.

See Also

Reference

SrsPrintDestinationTokens Class