VBS tutorial: Functions – isobject functions

Time:2021-10-17

Isobject function

Returns a Boolean value indicating whether the expression references a valid automation object.

IsObject(expression)

expressionParameters can be any expression.

explain

IfexpressionyesObjectSubtype variables or user-defined objects, thenIsObjectreturnTrue; Otherwise, the function returnsFalse

The following example usesIsObjectFunction to determine whether an identifier represents an object variable:

Dim Myint, mycheck, myobjectset, MyObject = me mycheck = isobject (MyObject) 'returns true. Mycheck = isobject (Myint) 'returns false.

Recommended Today

SQL exercise 20 – Modeling & Reporting

This blog is used to review and sort out the common topic modeling architecture, analysis oriented architecture and integration topic reports in data warehouse. I have uploaded these reports to GitHub. If you are interested, you can have a lookAddress:https://github.com/nino-laiqiu/TiTanI recorded a relatively complete development process in my hexo blog deployed on GitHub. You can […]