Soap.TypeTrans.TTypeTranslator.CastSoapToNative
Delphi
function CastSoapToNative(Info: PTypeInfo; const SoapData: InvString; NatData: Pointer; IsNull: Boolean): Boolean;
C++
bool __fastcall CastSoapToNative(System::Typinfo::PTypeInfo Info, const System::UnicodeString SoapData, void * NatData, bool IsNull);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Soap.TypeTrans.pas Soap.TypeTrans.hpp |
Soap.TypeTrans | TTypeTranslator |
Description
Converts a SOAP string to the corresponding native variable.
CastSoapToNative converts the SOAP string representation of a simple type to the corresponding native variable.
The parameters are described in the following table:
Parameter | Significance |
---|---|
Info
|
Native type RTTI (this is how the native type is specified). |
SoapData
|
SOAP string that represents the native value. |
NatData
|
Pointer to a memory region where the native value should be written. |
IsNull
|
If True , then the native variable is set to the default value.
|
This function always returns true.