Share via


IPersistXML::LoadXML Method

This method should load XML-formatted data from a BSTR.

HRESULT LoadXML(
    long Reserved,
    BSTR bstrXML
);

Parameters

  • Reserved
    [in] Reserved for future use.

  • bstrXML
    [in] A BSTR that contains object data in the XML representation expected by the object.

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::SaveXML Method