ISerializerFactory::SerializerForValue Method

HRESULT SerializerForValue([in] VARIANT * v, [out, retval] ISoapSerializer ** s);

Finds a serializer object for the given COM value. The resulting serializer should be passed to ReturnSerializer when finished with, so that it is returned to the pool, and re-used if required.

 

Parameters

v
VARIANT *, [in]: The value to find a serializer for
s
ISoapSerializer **, [out, retval]: The matching serializer, if the serializer also implements ITypesInit, then the serializer factory will of already called ITypesInit::Initialize(...)

 

Return Values

Either a serializer object that matches the requested Value, or E_NO_SERIALIZER

 

Sample Code



  

 

See Also

The ISerializerFactory Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.