COM Wrapper for IXmlTranslate. More...

List of all members.

Public Member Functions

HRESULT Load ([in] IXMLDOMDocument *pXmlDoc,[in] IXMLDOMNode *pXmlNode,[in] BSTR sObjectName,[out, retval] IPersistXml **ppObject)
HRESULT Save ([in] IPersistXml *pObject,[out, retval] IXMLDOMDocument **ppXmlDoc)


Detailed Description

COM Wrapper for IXmlTranslate.

This interface is implemented by XmlTranslate to wrap IXmlTranslate for Scripting clients to load/save XML objects.


Member Function Documentation

HRESULT IXmlTranslate::Load [in] IXMLDOMDocument *  pXmlDoc,
[in] IXMLDOMNode *  pXmlNode,
[in] BSTR  sObjectName,
[out, retval] IPersistXml **  ppObject
 

Parameters:
pXmlDoc XML document.
pXmlNode XML node.
sObjectName Name of object (same as __uuidof()).
ppObject Returned XML object.
Return values:
S_OK Success.
E_INVALIDARG Invalid argument.
Remarks:
None.
HRESULT IXmlTranslate::Save [in] IPersistXml *  pObject,
[out, retval] IXMLDOMDocument **  ppXmlDoc
 

Parameters:
pObject Returned XML object.
ppXmlDoc XML document.
Return values:
S_OK Success.
E_INVALIDARG Invalid argument.
Remarks:
None.