This document is archived and information here might be outdated.  Recommended version.


IXMLSerializer.SaveToString Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLSerializer Interface > IXMLSerializer.SaveToString Method
ArcGIS Developer Help

IXMLSerializer.SaveToString Method

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
);
[C++]
Parameters
obj [in]

obj is a parameter of type IUnknown environment [in]
environment is a parameter of type IPropertySet* flags [in]
flags is a parameter of type IXMLFlags*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IXMLSerializer Interface