Java.Nio.Charset.CharsetDecoder.ReplaceWith Method
Sets the new replacement string.

Syntax

[Android.Runtime.Register("replaceWith", "(Ljava/lang/String;)Ljava/nio/charset/CharsetDecoder;", "")]
public CharsetDecoder ReplaceWith (string newReplacement)

Parameters

replacement
the replacement string cannot be null, empty, or longer than CharsetDecoder.MaxCharsPerByte.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the given replacement cannot satisfy the requirement mentioned above.

Remarks

Sets the new replacement string. This method first checks the given replacement's validity, then changes the replacement value, and at last calls the CharsetDecoder.ImplReplaceWith(string) method with the given new replacement as argument.

[Android Documentation]

Requirements

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