Compartir a través de


RemoteViews.SetLabelFor(Int32, Int32) Method

Definition

Equivalent to calling View#setLabelFor(int).

[Android.Runtime.Register("setLabelFor", "(II)V", "GetSetLabelFor_IIHandler")]
public virtual void SetLabelFor (int viewId, int labeledId);
[<Android.Runtime.Register("setLabelFor", "(II)V", "GetSetLabelFor_IIHandler")>]
abstract member SetLabelFor : int * int -> unit
override this.SetLabelFor : int * int -> unit

Parameters

viewId
Int32

The id of the view whose property to set.

labeledId
Int32

The id of a view for which this view serves as a label.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setLabelFor(int, int).

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