GetObjectInfo Method

Returns a two-dimensional array containing the property values for the specified objects.

Syntax

object.GetObjectInfo(bstrObjectNames, bstrProperties)

Properties

The GetObjectInfo method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrObjectNames

String Array. An array of object names the user wants values for.

bstrProperties

String Array. An array of property names the user wants values for.

Return Value

Variant Array. A two-dimensional array consisting of the property values corresponding to the specified property names for the specified objects.

Remarks

GetObjectInfo will return a value of EMPTY if the user has specified an invalid object and/or property name.

 

Example

Applies To