共用方式為


IDumpableContainer.RemoveDumpable(IDumpable) Method

Definition

Removes the given Dumpable dumpable from the container.

[Android.Runtime.Register("removeDumpable", "(Landroid/util/Dumpable;)Z", "GetRemoveDumpable_Landroid_util_Dumpable_Handler:Android.Util.IDumpableContainerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public bool RemoveDumpable (Android.Util.IDumpable dumpable);
[<Android.Runtime.Register("removeDumpable", "(Landroid/util/Dumpable;)Z", "GetRemoveDumpable_Landroid_util_Dumpable_Handler:Android.Util.IDumpableContainerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member RemoveDumpable : Android.Util.IDumpable -> bool

Parameters

dumpable
IDumpable

dumpable to be removed.

Returns

true if the dumpable was removed, false if it was not previously #addDumpable(Dumpable) added with the same identify (object reference) and Dumpable#getDumpableName() name.

Attributes

Remarks

Removes the given Dumpable dumpable from the container.

Java documentation for android.util.DumpableContainer.removeDumpable(android.util.Dumpable).

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