RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalogObject.IsPropertyReadOnly Method

Indicates whether a specified property is read-only.

Pascal
function IsPropertyReadOnly(const bstrPropName: WideString): WordBool;
C++
__fastcall WordBool IsPropertyReadOnly(const BSTR bstrPropName);

Call IsPropertyReadOnly to determine whether you can use the Value property to set a specific property. If IsPropertyReadOnly returns true, you can use Value to read the property's value but not set it. If IsPropertyReadOnly returns false, you can use Value to set the property's value as well. 

bstrPropName is the name of the property. 

 

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