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!

IsObject Function Example

This example uses the IsObject function to determine if an identifier represents an object variable. MyObject and YourObject are object variables of the same type. They are generic names used for illustration purposes only.

Dim MyInt As Integer, YourObject, MyCheck   ' Declare variables.
Dim MyObject As Object
Set YourObject = MyObject   ' Assign an object reference.
MyCheck = IsObject(YourObject)   ' Returns True.
MyCheck = IsObject(MyInt)   ' Returns False.