To More Specific Class

Typecasts a class object or class reference to a class below the object or reference in the inheritance hierarchy.

You can use this node to typecast any object or reference in a class hierarchy, including VI Server references, .NET/ActiveX references, and classes you create.

1378

Inputs/Outputs

datatype_icon

reference

Class reference or class object you want to typecast to a target class within the inheritance hierarchy.

datatype_icon

target class

Class you want reference to match.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

specific class reference

Class reference or class object typecast to the target class.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Typecasting Classes

Typecasting changes the data type of an input to that of the class you specify. This allows you to access the object or reference you input as if it is the target class you specify.