RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
InvokeRegistry.AS_ATTRIBUTE Constant

Identifies a property of a remotable class as one that corresponds to an attribute in the SOAP encoding.

Pascal
AS_ATTRIBUTE = False;
C++
AS_ATTRIBUTE = False;

Assign AS_ATTRIBUTE as the value of the stored directive on a property declaration in a TRemotable descendant to indicate that the property is encoded as an attribute node rather than as an element node. If a property declaration does not include a stored directive with a value of AS_ATTRIBUTE, it is encoded as an element node instead.

Note: Note:AS_ATTRIBUTE must be used directly. If you set the stored directive to a function that returns AS_ATTRIBUTE (false), the property is still encoded as an element node.
 

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