共用方式為


SfcCollection<T,K,ParentT>.RemoveInternal(T) Method

Definition

Remove the item given by the key. Existing object are marked with a state of ToBeDropped for dropping when their parent is Altered or Dropped. At that time the marked object will be removed fro the collection. Pending, None or Dropped objects are removed from the collection immediately.

protected internal bool RemoveInternal (T obj);
member this.RemoveInternal : 'T -> bool
Protected Friend Function RemoveInternal (obj As T) As Boolean

Parameters

obj
T

The instance to remove.

Returns

If the object is successfully marked to be dropped it returns true, else false.

Applies to