This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLSerializer Interface > IXMLSerializer.SaveToString Method (ArcObjects .NET 10.4 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