Share via


RestrictionEntry.Description Property

Definition

Returns the provided user-visible description of the entry, if any. -or- Sets the user-visible description of the entry, as a possible sub-text for the title.

public virtual string? Description { [Android.Runtime.Register("getDescription", "()Ljava/lang/String;", "GetGetDescriptionHandler")] get; [Android.Runtime.Register("setDescription", "(Ljava/lang/String;)V", "GetSetDescription_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getDescription", "()Ljava/lang/String;", "GetGetDescriptionHandler")>]
[<set: Android.Runtime.Register("setDescription", "(Ljava/lang/String;)V", "GetSetDescription_Ljava_lang_String_Handler")>]
member this.Description : string with get, set

Property Value

the user-visible description, null if none was set earlier.

Attributes

Remarks

Property getter documentation:

Returns the provided user-visible description of the entry, if any.

Java documentation for android.content.RestrictionEntry.getDescription().

Property setter documentation:

Sets the user-visible description of the entry, as a possible sub-text for the title. You can use this to describe the entry in more detail or to display the current state of the restriction.

Java documentation for android.content.RestrictionEntry.setDescription(java.lang.String).

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