Share via


ILSSerializer.WriteToString(INode) Method

Definition

Serialize the specified node as described above in the general description of the LSSerializer interface.

[Android.Runtime.Register("writeToString", "(Lorg/w3c/dom/Node;)Ljava/lang/String;", "GetWriteToString_Lorg_w3c_dom_Node_Handler:Org.W3c.Dom.LS.ILSSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? WriteToString (Org.W3c.Dom.INode? nodeArg);
[<Android.Runtime.Register("writeToString", "(Lorg/w3c/dom/Node;)Ljava/lang/String;", "GetWriteToString_Lorg_w3c_dom_Node_Handler:Org.W3c.Dom.LS.ILSSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WriteToString : Org.W3c.Dom.INode -> string

Parameters

nodeArg
INode

The node to serialize.

Returns

Returns the serialized data.

Attributes

Remarks

Serialize the specified node as described above in the general description of the LSSerializer interface. The output is written to a DOMString that is returned to the caller. The encoding used is the encoding of the DOMString type, i.e. UTF-16. Note that no Byte Order Mark is generated in a DOMString object.

Java documentation for org.w3c.dom.ls.LSSerializer.writeToString(org.w3c.dom.Node).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to