Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
writer
Type: System.Xml.XmlWriterThe XmlWriter object used to write the specified value.
objValue
Type: System.ObjectThe Object that represents the value to be written to a XmlWriter object.
serializationContext
Type: Microsoft.SharePoint.Client.SerializationContextThe context of a serialization operation used to store the object path, which is used for re-creating the object on the server.
Remarks
This method writes the specified value, excluding the start and end elements, to a XmlWriter object.