Vcl.CmAdmCtl.TCOMAdminCatalogObject.Key

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property Key: OleVariant read Get_Key;

C++

__property System::OleVariant Key = {read=Get_Key};

Propriétés

Type Visibilité  Source Unité  Parent
property public
Vcl.CmAdmCtl.pas
Vcl.CmAdmCtl.hpp
Vcl.CmAdmCtl TCOMAdminCatalogObject

Description

Identifie de façon unique l'élément catalogue.

La propriété Key sert d'identificateur principal d'un objet. Dans certains cas, Key est un GUID, tel que CLSID pour un composant ; dans d'autres cas il s'agit du nom de l'élément, comme avec les rôles. Pour déterminer la signification de la propriété Key, consultez la documentation Microsoft de la collection à laquelle cet élément appartient.

Remarque :  Si vous ajoutez un nouvel objet à une collection, puis l'enregistrez avec la propriété Key d'un objet existant, vous écrasez l'objet existant.

Voir aussi