CS3 JS: ReflectionInfo

CS3 JavaScript

ReflectionInfo

 Provides information about a method, a property or a method parameters.

Properties

PropertyTypeAccessDescription
argumentsArray of ReflectionInforeadonlyThe description of method or function arguments.
dataTypestringreadonlyThe data type.
defaultValueanyreadonlyThe default value.
descriptionstringreadonlyThe long description text.
helpstringreadonlyThe short description text.
isCollectionboolreadonlyContains true if the class describes a collection class.
maxnumberreadonlyThe maximum value.
minnumberreadonlyThe minimum value.
namestringreadonlyThe element name.
parentReflectionreadonlyThe class object that this element belongs to.
sampleCodestringreadonlySample code, if present.
sampleFileFilereadonlyA file containing sample code. May be null.
typestringreadonly

The element type.

One of unknown, readonly, readwrite, createonly, method or parameter.

Element of

Reflection.methods

Reflection.properties

Reflection.staticMethods

Reflection.staticProperties

ReflectionInfo.arguments

Return

ReflectionInfo Reflection.find (name:string)

Contents :: Index