Język

Contacts.Organizations.GetDisplayLabel Method

Definition

Caution

deprecated

This member is deprecated.

[System.Obsolete("deprecated")]
public static string? GetDisplayLabel(Android.Content.Context? context, Android.Provider.ContactOrganizationColumn type, string? label);
[<System.Obsolete("deprecated")>]
static member GetDisplayLabel : Android.Content.Context * Android.Provider.ContactOrganizationColumn * string -> string

Parameters

context
Context

The context used to load built-in labels when a resource label is needed.

type
ContactOrganizationColumn

The legacy type code used to select a label; zero selects the custom label.

label
String

The optional text used for the custom type.

Returns

The selected organization-type label; the custom type returns an empty label when no nonempty custom text is supplied.

Attributes

Remarks

This member is deprecated. see android.provider.ContactsContract

Java documentation for android.provider.Contacts.Organizations.getDisplayLabel(android.content.Context, int, java.lang.CharSequence).

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