Sdílet prostřednictvím


PrintWriter.SetError Method

Definition

Indicates that an error has occurred.

[Android.Runtime.Register("setError", "()V", "GetSetErrorHandler")]
protected virtual void SetError ();
[<Android.Runtime.Register("setError", "()V", "GetSetErrorHandler")>]
abstract member SetError : unit -> unit
override this.SetError : unit -> unit
Attributes

Remarks

Indicates that an error has occurred.

This method will cause subsequent invocations of #checkError() to return true until #clearError() is invoked.

Java documentation for java.io.PrintWriter.setError().

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