共用方式為


SpannableStringBuilder.SetFilters(IInputFilter[]) Method

Definition

Sets the series of filters that will be called in succession whenever the text of this Editable is changed, each of which has the opportunity to limit or transform the text that is being inserted.

[Android.Runtime.Register("setFilters", "([Landroid/text/InputFilter;)V", "GetSetFilters_arrayLandroid_text_InputFilter_Handler")]
public virtual void SetFilters (Android.Text.IInputFilter[]? filters);
[<Android.Runtime.Register("setFilters", "([Landroid/text/InputFilter;)V", "GetSetFilters_arrayLandroid_text_InputFilter_Handler")>]
abstract member SetFilters : Android.Text.IInputFilter[] -> unit
override this.SetFilters : Android.Text.IInputFilter[] -> unit

Parameters

filters
IInputFilter[]

Implements

Attributes

Remarks

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