- out
- the OutputStream to write to.
- comment
- the comment to add at the beginning.
Type Reason Java.Lang.ClassCastException if the key or value of a mapping is not a String.
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.