ISerializerFactory::SerializerForNode Method

HRESULT SerializerForNode([in] ISOAPNode * n, [out, retval] ISoapSerializer ** s);

Given a CoSOAPNode object, find a suitable serializer for the nodes value [this is a shortcut for ISoapNode::get_Value(); SerializerForValue()



ISOAPNode *, [in]: The node to find a serializer for
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 © Simon Fell, 2000-2004. All rights reserved.