Export (0) Print
Expand All

Type.registerEnum Method (Microsoft Ajax)

Registers an enumeration.

public function registerEnum(
    name : String,
    flags : Boolean
)

Parameter

Description

name

The fully-qualified name of the enumeration.

flags

(Optional) true if the enumeration is a collection of flags; otherwise, false.

Exception type

Condition

Error.argument Function

(Debug) name is not a fully qualified type name.

Error.invalidOperation Function

(Debug) name is not a valid type.

Community Additions

ADD
Show:
© 2014 Microsoft