create_enum method

create_enum(self, name)

Create an enum type

Returns

Instance of the enum type


def create_enum(self, name):
    ...
ParameterTypeDescription
nameSystem.StringThe enum type’s name

Exceptions

ExceptionDescription
ArgumentException

See Also