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


IXMLSerializer.SaveToString Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

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