This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLSerializer Interface > IXMLSerializer.SaveToString Method (ArcObjects .NET 10.5 SDK) |
Saves an object to an XML string.
[Visual Basic .NET] Public Function SaveToString ( _ ByVal obj As Object, _ ByVal environment As IPropertySet, _ ByVal flags As IXMLFlags _ ) As String
[C#] public string SaveToString ( object obj, IPropertySet environment, IXMLFlags flags );
[C++]
HRESULT SaveToString(
LPUNKNOWN obj,
IPropertySet* environment,
IXMLFlags* flags,
BSTR* XML
);
[C++]
Parameters obj [in] obj is a parameter of type LPUNKNOWN environment [in]
environment is a parameter of type IPropertySet flags [in]
flags is a parameter of type IXMLFlags XML [out, retval] XML is a parameter of type BSTR