Java.Util.Prefs.AbstractPreferences.ExportNode Method
Exports all of the preferences of this node to a XML document using the given output stream.

Syntax

[Android.Runtime.Register("exportNode", "(Ljava/io/OutputStream;)V", "GetExportNode_Ljava_io_OutputStream_Handler")]
public override void ExportNode (System.IO.Stream ostream)

Parameters

ostream
the output stream to write the XML-formatted data to.

Exceptions

TypeReason
Java.IO.IOException
Java.Util.Prefs.BackingStoreException

Remarks

Exports all of the preferences of this node to a XML document using the given output stream.

This XML document uses the UTF-8 encoding and is written according to the DTD in its DOCTYPE declaration, which is the following:

xml Example

 <!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
 
Please note that (unlike the methods of this class that don't concern serialization), this call is not thread-safe.

[Android Documentation]

Requirements

Namespace: Java.Util.Prefs
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1