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


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

IXMLSerializer.ReadObjectByType Method

Reads an object from XML given an XML type.

[Visual Basic .NET]
Public Function ReadObjectByType ( _
    ByVal pReader As IXMLReader, _
    ByVal environment As IPropertySet, _
    ByVal flags As IXMLFlags, _
    ByVal typeNamespace As String, _
    ByVal TypeName As String _
) As Object
[C#]
public object ReadObjectByType (
    IXMLReader pReader,
    IPropertySet environment,
    IXMLFlags flags,
    string typeNamespace,
    string TypeName
);
[C++]
HRESULT ReadObjectByType(
  IXMLReader* pReader,
  IPropertySet* environment,
  IXMLFlags* flags,
  BSTR typeNamespace,
  BSTR TypeName,
  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 typeNamespace [in] typeNamespace is a parameter of type BSTR TypeName [in] TypeName is a parameter of type BSTR 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