AccessibilityNodeInfo.RemoveChild Method

Definition

Overloads

RemoveChild(View, Int32)

Removes a virtual child which is a descendant of the given root.

RemoveChild(View)

Removes a child.

RemoveChild(View, Int32)

Removes a virtual child which is a descendant of the given root.

[Android.Runtime.Register("removeChild", "(Landroid/view/View;I)Z", "GetRemoveChild_Landroid_view_View_IHandler", ApiSince=21)]
public virtual bool RemoveChild (Android.Views.View root, int virtualDescendantId);
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
Attributes

Remarks

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

RemoveChild(View)

Removes a child.

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

Parameters

child
View

The child.

Returns

Boolean
Attributes

Exceptions

If called from an AccessibilityService.

Remarks

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