SysCLRType::is Method [AX 2012]

Determines whether the specified CLR object is an instance of the specified type.

client server public static boolean is(
    CLRObject _object, 
    str _typeName, 
   [SysReferenceName _assemblyReferenceName])

Run On

Called

Parameters

_object
Type: CLRObject Class
_typeName
Type: str
_assemblyReferenceName
Type: SysReferenceName Extended Data Type

Return Value

Type: boolean
true if the specified CLR object is in the inheritance hierarchy of the object represented by _object, or if the specified type is an interface that _object supports; otherwise, false.

The _assemblyReferenceName must be specified if the specified type is not implemented by mscorlib.dll.

Show: