Click or drag to resize

CheckInstanceOf Function

Determine if an object is an instance of a particular class.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION CheckInstanceOf(
	oObject AS Object,
	symClassName AS STRING
) AS LOGIC

Parameters

oObject
Type: Object
The object to check for.
symClassName
Type: String
The class that oObject may be an instance of.

Return Value

Type: Boolean
TRUE if oObject is an instance of symClassName; otherwise, an error is generated. FALSE is returned if you choose to ignore the error. If oObject is a NULL_OBJECT, a FALSE is returned but no error is generated.
See Also