View.FindViewWithTag(Object) 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.
Look for a child view with the given tag.
[Android.Runtime.Register("findViewWithTag", "(Ljava/lang/Object;)Landroid/view/View;", "")]
public Android.Views.View? FindViewWithTag (Java.Lang.Object? tag);
[<Android.Runtime.Register("findViewWithTag", "(Ljava/lang/Object;)Landroid/view/View;", "")>]
member this.FindViewWithTag : Java.Lang.Object -> Android.Views.View
Parameters
- tag
- Object
The tag to search for, using "tag.equals(getTag())".
Returns
The View that has the given tag in the hierarchy or null
- Attributes
Remarks
Look for a child view with the given tag. If this view has the given tag, return this view.
Java documentation for android.view.View.findViewWithTag(java.lang.Object)
.
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.