AccessibilityNodeInfo.RemoveChild Method

Definition

Overloads

RemoveChild(View)

Removes a child.

RemoveChild(View, Int32)

Removes a virtual child which is a descendant of the given <code>root</code>.

RemoveChild(View)

Removes a child.

[Android.Runtime.Register("removeChild", "(Landroid/view/View;)Z", "GetRemoveChild_Landroid_view_View_Handler")]
public virtual bool RemoveChild (Android.Views.View? child);
[<Android.Runtime.Register("removeChild", "(Landroid/view/View;)Z", "GetRemoveChild_Landroid_view_View_Handler")>]
abstract member RemoveChild : Android.Views.View -> bool
override this.RemoveChild : Android.Views.View -> bool

Parameters

child
View

The child.

Returns

Boolean

true if the child was present

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Java documentation for android.view.accessibility.AccessibilityNodeInfo.removeChild(android.view.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.

Applies to

RemoveChild(View, Int32)

Removes a virtual child which is a descendant of the given <code>root</code>.

[Android.Runtime.Register("removeChild", "(Landroid/view/View;I)Z", "GetRemoveChild_Landroid_view_View_IHandler")]
public virtual bool RemoveChild (Android.Views.View? root, int virtualDescendantId);
[<Android.Runtime.Register("removeChild", "(Landroid/view/View;I)Z", "GetRemoveChild_Landroid_view_View_IHandler")>]
abstract member RemoveChild : Android.Views.View * int -> bool
override this.RemoveChild : Android.Views.View * int -> bool

Parameters

root
View

The root of the virtual subtree.

virtualDescendantId
Int32

The id of the virtual child.

Returns

Boolean

true if the child was present

Attributes

Remarks

Java documentation for android.view.accessibility.AccessibilityNodeInfo.removeChild(android.view.View, 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.

See also

  • <xref:Android.Views.Accessibility.AccessibilityNodeInfo.AddChild(Android.Views.View%2c+System.Int32)>

Applies to