Property Object, Properties Collection

      Properties   Methods   

The Property object is a generic object representing a property of another object. It provides a way to associate a property with an object other than accessing it from the object as in object1.property1.

The Properties collection is a generic object containing all currently available Property objects.

Remarks

Use the Value property of the Property object to get or set the Variant value of the Property object. Whenever the Value property returns a value of type Object, the Property object's value is a Properties collection. In this way, one Properties collection can be nested within other Properties collections.

If the Property object represents a value that is an object with properties and methods, then get and set the value of the Property object using the Property object's Object property.

If the Property object represents a value that is actually a list of Variant values, then the NumIndices property indicates how many values there are, and the IndexValue property returns each value.