xArgs.parmEnum Method

Gets or sets the enumeration value of the enumeration type that is specified in the parmEnumType method.

Syntax

public anytype parmEnum([int value])

Run On

Called

Parameters

  • value
    Type: int
    The key of an enumeration value to set; optional.

Return Value

Type: anytype
The enumeration value of the enumeration type that is specified in the parmEnumType method.

Remarks

  • This method is often used with the parmEnumType method:

  • args.parmEnumType(enumnum(AssetBookType));

  • args.parmEnumType(enumnum(AssetBookType));

See Also

Reference

xArgs Class