To More Specific Class
- Updated2023-02-17
- 2 minute(s) read
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.

Inputs/Outputs

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

target class
Class you want reference to match.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

specific class reference
Class reference or class object typecast to the target class.

error out
Error information.
The node produces this output according to 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.