RAD Studio VCL Reference
TCOMAdminCatalogObject.Key Property

Uniquely identifies the catalog item.

property Key: OleVariant;
__property OleVariant Key;

The Key property serves as the primary identifier for an object. In some cases, Key is a GUID, such as CLSID for a component; in some cases it is the item name, as with roles. To determine the meaning of the Key property, check the Microsoft documentation for the specific collection to which this item belongs.

Note: If you add a new object to a collection and save it with the Key property of an existing object, you overwrite the existing object.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!