GetProperty Method

Returns the value of the specified property name.

Syntax

object.GetProperty bstrPropertyName, vaValue

Properties

The GetProperty method syntax has these parts:

Part

Description

object

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

bstrPropertyName

String. The name of the property.

aValue

Variant. Returns the value of the property.

Remarks

The GetProperty andSetProperty methods are useful for creating table driven property operations. Generic import and export functions can be written given a list of property names to access (also see ListProperties).

 

Example

Applies To