Share via


IPersistXML::SaveXML Method

This method should save data in an XML-formatted BSTR.

HRESULT SaveXML(
    long Reserved,
    BSTR* bstrXML
);

Parameters

  • Reserved
    [in] Reserved for future use.

  • bstrXML
    [out, retval] The address of a BSTR used to return object data in its XML representation.

Return Value

This method must return the HRESULT value S_OK to indicate success, and should generally return one of the standard COM error values to indicate failure.

See Also

Other Resources

IPersistXML Interface

IPersistXML::LoadXML Method