This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLSerializer Interface > IXMLSerializer.WriteObject Method (ArcObjects .NET 10.4 SDK) |
Writes an object as XML.
[Visual Basic .NET] Public Sub WriteObject ( _ ByVal pWriter As IXMLWriter, _ ByVal environment As IPropertySet, _ ByVal flags As IXMLFlags, _ ByVal elementName As String, _ ByVal elementNamespaceURI As String, _ ByVal obj As Object _ )
[C#] public void WriteObject ( IXMLWriter pWriter, IPropertySet environment, IXMLFlags flags, string elementName, string elementNamespaceURI, object obj );
[C++]
HRESULT WriteObject(
IXMLWriter* pWriter,
IPropertySet* environment,
IXMLFlags* flags,
BSTR elementName,
BSTR elementNamespaceURI,
LPUNKNOWN obj
);
[C++]
Parameters pWriter [in]
pWriter is a parameter of type IXMLWriter environment [in]
environment is a parameter of type IPropertySet flags [in]
flags is a parameter of type IXMLFlags elementName [in] elementName is a parameter of type BSTR elementNamespaceURI [in] elementNamespaceURI is a parameter of type BSTR obj [in] obj is a parameter of type LPUNKNOWN