Partager via


UrlQuerySanitizer.PreferFirstRepeatedParameter Property

Definition

Get whether or not the first occurrence of a repeated parameter is preferred. -or- Set whether or not the first occurrence of a repeated parameter is preferred.

public virtual bool PreferFirstRepeatedParameter { [Android.Runtime.Register("getPreferFirstRepeatedParameter", "()Z", "GetGetPreferFirstRepeatedParameterHandler")] get; [Android.Runtime.Register("setPreferFirstRepeatedParameter", "(Z)V", "GetSetPreferFirstRepeatedParameter_ZHandler")] set; }
[<get: Android.Runtime.Register("getPreferFirstRepeatedParameter", "()Z", "GetGetPreferFirstRepeatedParameterHandler")>]
[<set: Android.Runtime.Register("setPreferFirstRepeatedParameter", "(Z)V", "GetSetPreferFirstRepeatedParameter_ZHandler")>]
member this.PreferFirstRepeatedParameter : bool with get, set

Property Value

true if the first occurrence of a repeated parameter is preferred.

Attributes

Remarks

Property getter documentation:

Get whether or not the first occurrence of a repeated parameter is preferred.

Java documentation for android.net.UrlQuerySanitizer.getPreferFirstRepeatedParameter().

Property setter documentation:

Set whether or not the first occurrence of a repeated parameter is preferred. True means the first repeated parameter is preferred. False means that the last repeated parameter is preferred.

The preferred parameter is the one that is returned when getParameter is called.

defaults to false.

Java documentation for android.net.UrlQuerySanitizer.setPreferFirstRepeatedParameter(boolean).

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