Java.Util.Properties.Save Method
Saves the mappings in this Properties to the specified OutputStream, putting the specified comment at the beginning.

Syntax

[Android.Runtime.Register("save", "(Ljava/io/OutputStream;Ljava/lang/String;)V", "GetSave_Ljava_io_OutputStream_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual void Save (System.IO.Stream out, string comment)

Parameters

out
the OutputStream to write to.
comment
the comment to add at the beginning.

Exceptions

TypeReason
Java.Lang.ClassCastExceptionif the key or value of a mapping is not a String.

Remarks

Saves the mappings in this Properties to the specified OutputStream, putting the specified comment at the beginning. The output from this method is suitable for being read by the Properties.Load(System.IO.Stream) method.

[Android Documentation]

Requirements

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