View.GetTag(Int32) Method
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.
Returns the tag associated with this view and the specified key.
[Android.Runtime.Register("getTag", "(I)Ljava/lang/Object;", "GetGetTag_IHandler")]
public virtual Java.Lang.Object? GetTag(int key);
[<Android.Runtime.Register("getTag", "(I)Ljava/lang/Object;", "GetGetTag_IHandler")>]
abstract member GetTag : int -> Java.Lang.Object
override this.GetTag : int -> Java.Lang.Object
- key
- Int32
The key identifying the tag
the Object stored in this view as a tag, or null
if not
set
- Attributes
Returns the tag associated with this view and the specified key.
Java documentation for android.view.View.getTag(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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |
- <xref:Android.Views.View.SetTag(System.Int32%2c+Java.Lang.Object)>
- Tag