DataConvert.WriteValueToXmlElement method

Writes the value of the Object parameter as an XML element to the XmlWriter parameter.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Shared Sub WriteValueToXmlElement ( _
    writer As XmlWriter, _
    objValue As Object, _
    serializationContext As SerializationContext _
)
'Usage
Dim writer As XmlWriter
Dim objValue As Object
Dim serializationContext As SerializationContextDataConvert.WriteValueToXmlElement(writer, _
    objValue, serializationContext)
public static void WriteValueToXmlElement(
    XmlWriter writer,
    Object objValue,
    SerializationContext serializationContext
)

Parameters

Remarks

This method writes the specified value, excluding the start and end elements, to a XmlWriter object.

See also

Reference

DataConvert class

DataConvert members

Microsoft.SharePoint.Client namespace