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,
  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

Product Availability

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

See Also

IXMLSerializer Interface