共用方式為


Configuration.GrammaticalGender Property

Definition

Returns the user preference for the grammatical gender.

public Android.Content.Res.GrammaticalGender GrammaticalGender { [Android.Runtime.Register("getGrammaticalGender", "()I", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getGrammaticalGender", "()I", "", ApiSince=34)>]
member this.GrammaticalGender : Android.Content.Res.GrammaticalGender

Property Value

The preferred grammatical gender.

Attributes

Remarks

Returns the user preference for the grammatical gender. Will be #GRAMMATICAL_GENDER_NOT_SPECIFIED or #GRAMMATICAL_GENDER_NEUTRAL or #GRAMMATICAL_GENDER_FEMININE or #GRAMMATICAL_GENDER_MASCULINE.

Java documentation for android.content.res.Configuration.getGrammaticalGender().

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