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


IXMLSerializer.LoadFromString Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IXMLSerializer.LoadFromString Method

Loads an object from an XML string.

[Visual Basic .NET]
Public Function LoadFromString ( _
    ByVal XML As String, _
    ByVal environment As IPropertySet, _
    ByVal flags As IXMLFlags _
) As Object
[C#]
public object LoadFromString (
    string XML,
    IPropertySet environment,
    IXMLFlags flags
);
[C++]
HRESULT LoadFromString(
  BSTR XML,
  IPropertySet* environment,
  IXMLFlags* flags,
  LPUNKNOWN* obj
);
[C++]

Parameters XML [in] XML is a parameter of type BSTR environment [in]
environment is a parameter of type IPropertySet flags [in]
flags is a parameter of type IXMLFlags obj [out, retval] obj is a parameter of type LPUNKNOWN

Product Availability

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

See Also

IXMLSerializer Interface