RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalogObject.IsPropertyWriteOnly Method

Indicates whether a specified property is write-only.

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

Call IsPropertyWriteOnly to determine whether you can read the value of a specific property using the Value property. If IsPropertyWriteOnly returns true, you can use Value to set the property's value but not read it. If IsPropertyWriteOnly returns false, you can use Value to read 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!