Soap.XSBuiltIns.TXSDuration.DecodeDuration
Delphi
class procedure DecodeDuration(const ADuration: string;
out Data: TDurationData); static;
C++
static void __fastcall DecodeDuration(const System::UnicodeString ADuration, /* out */ TDurationData &Data);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.XSBuiltIns.pas Soap.XSBuiltIns.hpp |
Soap.XSBuiltIns | TXSDuration |
Description
Decodes the string representation of a duration.
DecodeDuration populates Data
(which represents duration data) by parsing ADuration
. To set the state of a TXSDuration instance with the information contained in the string (as from a SOAP packet), use the XSToNative method.