Contacts.ContactMethods.GetDisplayLabel 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.
Caution
deprecated
This member is deprecated.
[System.Obsolete("deprecated")]
public static string? GetDisplayLabel(Android.Content.Context? context, Android.Provider.ContactKind kind, Android.Provider.ContactMethodColumn type, string? label);
[<System.Obsolete("deprecated")>]
static member GetDisplayLabel : Android.Content.Context * Android.Provider.ContactKind * Android.Provider.ContactMethodColumn * string -> string
Parameters
- context
- Context
The context used to load built-in labels when a resource label is needed.
- kind
- ContactKind
The legacy data kind. Only email and postal kinds use type-specific label tables.
- type
- ContactMethodColumn
The legacy type code used to select a label; zero selects the custom label.
- label
- String
The optional custom label used for the custom type of an email or postal kind.
Returns
The email or postal type label, or the generic untitled label for another kind. An empty custom label stays empty.
- Attributes
Remarks
This member is deprecated. see android.provider.ContactsContract
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.