ListProperties Method

Return a complete list of properties and their associated data types for the specified object.

Syntax

object.ListProperties pvProperties, pvDataTypes, piNumProperties

Properties

The ListProperties method syntax has these parts:

Part

Description

object

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

pvProperties

Variant array. Returns an array of property names for this object.

pvDataTypes

Variant array. Returns an array of associated property types for the properties.

piNumProperties

Integer. Returns the number of properties in the properties array.

Remarks

ListProperties can be used to get a list of the object's properties, which you can use to call the GetProperty method to extract the contents of the object. Generic import and export functions can be built with these functions.

 

Example

Applies To