Dela via


ILSSerializer.WriteToURI(INode, String) Method

Definition

A convenience method that acts as if LSSerializer.write was called with a LSOutput with no encoding specified and LSOutput.systemId set to the uri argument.

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

Parameters

nodeArg
INode

The node to serialize.

uri
String

The URI to write to.

Returns

Returns true if node was successfully serialized. Return false in case the normal processing stopped but the implementation kept serializing the document; the result of the serialization being implementation dependent then.

Attributes

Remarks

A convenience method that acts as if LSSerializer.write was called with a LSOutput with no encoding specified and LSOutput.systemId set to the uri argument.

Java documentation for org.w3c.dom.ls.LSSerializer.writeToURI(org.w3c.dom.Node, java.lang.String).

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