ConstrainedFieldPosition.MatchesField(_Format+Field, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a given field and value should be included given the constraints.
[Android.Runtime.Register("matchesField", "(Ljava/text/Format$Field;Ljava/lang/Object;)Z", "GetMatchesField_Ljava_text_Format_Field_Ljava_lang_Object_Handler", ApiSince=31)]
public virtual bool MatchesField(Java.Text._Format.Field? field, Java.Lang.Object? fieldValue);
[<Android.Runtime.Register("matchesField", "(Ljava/text/Format$Field;Ljava/lang/Object;)Z", "GetMatchesField_Ljava_text_Format_Field_Ljava_lang_Object_Handler", ApiSince=31)>]
abstract member MatchesField : Java.Text._Format.Field * Java.Lang.Object -> bool
override this.MatchesField : Java.Text._Format.Field * Java.Lang.Object -> bool
Parameters
- field
- _Format.Field
The field to test.
- fieldValue
- Object
The field value to test. Should be null if there is no value.
Returns
Whether the field should be included given the constraints.
- Attributes
Remarks
Determines whether a given field and value should be included given the constraints. Intended to be used by FormattedValue implementations.
Android reference for android.icu.text.ConstrainedFieldPosition.matchesField.
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.