Język

Contacts.Organizations.GetDisplayLabelFormatted Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("getDisplayLabel", "(Landroid/content/Context;ILjava/lang/CharSequence;)Ljava/lang/CharSequence;", "")]
[System.Obsolete("deprecated")]
public static Java.Lang.ICharSequence? GetDisplayLabelFormatted(Android.Content.Context? context, Android.Provider.ContactOrganizationColumn type, Java.Lang.ICharSequence? label);
[<Android.Runtime.Register("getDisplayLabel", "(Landroid/content/Context;ILjava/lang/CharSequence;)Ljava/lang/CharSequence;", "")>]
[<System.Obsolete("deprecated")>]
static member GetDisplayLabelFormatted : Android.Content.Context * Android.Provider.ContactOrganizationColumn * Java.Lang.ICharSequence -> Java.Lang.ICharSequence

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
ICharSequence

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