ViewStructure.SetId(Int32, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.