
CHAPTER 8: ExtendScript Tools and Features ExtendScript reflection interface 223
ReflectionInfo object properties
arguments
Array of
ReflectionInfo
For a reflected method, an array of ReflectionInfo objects describing
each method argument.
dataType
String The data type of the reflected element. One of:
boolean
number
string
Classname: The class name of an object.
N
OTE: Class names start with a capital letter. Thus, the value
string stands for a JavaScript string, while String is a
JavaScript
String wrapper object.
*: Any type. This is the default.
null
undefined: Return data type for a function that does not return
any value.
unknown
defaultValue
any The default value for a reflected property or method argument, or
undefined if there is no default value, if the property is undefined, or
if the element is a method.
description
String Short text describing the reflected object, or undefined if no
description is available.
help
String Longer text describing the reflected object more completely, or
undefined if no description is available.
isCollection
Boolean When true, the reflected property or method returns a collection;
otherwise, false.
max
Number The maximum numeric value for the reflected element, or
undefined if there is no maximum or if the element is a method.
min
Number The minimum numeric value for the reflected element, or undefined
if there is no minimum or if the element is a method.
name
String
Number
The name of the reflected element. A string, or a number for an array
index.
type
String The type of the reflected element. One of:
readonly: A Read only property.
readwrite: A read-write property.
createonly: A property that is valid only during creation of an
object.
method: A method.
Comentários a estes Manuais