Type.registerEnum Method (Microsoft Ajax)
Registers an enumeration.
public function registerEnum(
name : String,
flags : Boolean
)
Parameters
Parameter |
Description |
---|---|
name |
The fully-qualified name of the enumeration. |
flags |
(Optional) true if the enumeration is a collection of flags; otherwise, false. |
Exceptions
Exception type |
Condition |
---|---|
(Debug) name is not a fully qualified type name. |
|
(Debug) name is not a valid type. |