Share via


DataConvert.WriteValueToXmlElement Method

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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