ViewStructure.SetId(Int32, String, String, String) Method

Definition

Set the identifier for this view.

[Android.Runtime.Register("setId", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSetId_ILjava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=23)]
public abstract void SetId (int id, string? packageName, string? typeName, string? entryName);
[<Android.Runtime.Register("setId", "(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSetId_ILjava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member SetId : int * string * string * string -> unit

Parameters

id
Int32

The view's identifier, as per View#getId View.getId().

packageName
String

The package name of the view's identifier, or null if there is none.

typeName
String

The type name of the view's identifier, or null if there is none.

entryName
String

The entry name of the view's identifier, or null if there is none.

Attributes

Remarks

Set the identifier for this view.

Java documentation for android.view.ViewStructure.setId(int, java.lang.String, java.lang.String, 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