Querying for Available Properties
If you are writing a general-purpose administration tool, you most likely will need to write routines for setting properties in full generality. To support this, there is a facility that enables you to dynamically query for the properties that are available for the items in any given collection.
The PropertyInfo collection is available from any collection that you might be holding. The PropertyInfo collection contains an item for each available property. You can enumerate through these items to determine whether a given property is available.
You can get the PropertyInfo collection from any collection you are holding by using the GetCollection method on the COMAdminCatalogCollection object, leaving the second parameter blank where you would normally specify a parent item's Key property.