Udostępnij za pośrednictwem


UrlQuerySanitizer.RegisterParameter Method

Definition

Register a value sanitizer for a particular parameter.

[Android.Runtime.Register("registerParameter", "(Ljava/lang/String;Landroid/net/UrlQuerySanitizer$ValueSanitizer;)V", "GetRegisterParameter_Ljava_lang_String_Landroid_net_UrlQuerySanitizer_ValueSanitizer_Handler")]
public virtual void RegisterParameter (string? parameter, Android.Net.UrlQuerySanitizer.IValueSanitizer? valueSanitizer);
[<Android.Runtime.Register("registerParameter", "(Ljava/lang/String;Landroid/net/UrlQuerySanitizer$ValueSanitizer;)V", "GetRegisterParameter_Ljava_lang_String_Landroid_net_UrlQuerySanitizer_ValueSanitizer_Handler")>]
abstract member RegisterParameter : string * Android.Net.UrlQuerySanitizer.IValueSanitizer -> unit
override this.RegisterParameter : string * Android.Net.UrlQuerySanitizer.IValueSanitizer -> unit

Parameters

parameter
String

an unencoded parameter name

valueSanitizer
UrlQuerySanitizer.IValueSanitizer

the value sanitizer to use for a particular parameter. May be null in order to unregister that parameter.

Attributes

Remarks

Java documentation for android.net.UrlQuerySanitizer.registerParameter(java.lang.String, android.net.ValueSanitizer).

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

See also