NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

IsObject Function

Returns a Boolean value indicating whether an identifier represents an object variable.

IsObject(identifier)

The required identifier argument is a variable name.

Remarks

IsObject is useful only in determining whether a Variant is of VarType vbObject. This could occur if the Variant actually references (or once referenced) an object, or if it contains Nothing.

IsObject returns True if identifier is a variable declared with Object type or any valid class type, or if identifier is a Variant of VarType vbObject, or a user-defined object; otherwise, it returns False. IsObject returns True even if the variable has been set to Nothing.

Use error trapping to be sure that an object reference is valid.

See Also

Example

IsArray Function | IsDate Function | IsEmpty Function | IsError Function | IsMissing Function | IsNull Function | IsNumeric Function | Object Data Type | Set Statement | TypeName Function | Variant Data Type | VarType Function