ArcObjects Library Reference (System)  

IXMLSerializer.ReadObject Method

Reads an object from XML.

[Visual Basic .NET]
Public Function ReadObject ( _
    ByVal pReader As IXMLReader, _
    ByVal environment As IPropertySet, _
    ByVal flags As IXMLFlags _
) As Object
[C#]
public object ReadObject (
    IXMLReader pReader,
    IPropertySet environment,
    IXMLFlags flags
);
[C++]
HRESULT ReadObject(
  IXMLReader* pReader,
  IPropertySet* environment,
  IXMLFlags* flags,
  LPUNKNOWN* obj
);
[C++]

Parameters

pReader [in]

  pReader is a parameter of type IXMLReader

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

.NET Snippets

Deserialize an XML File |