Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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.

Show:
© 2015 Microsoft