SfcCollection<T,K,ParentT>.RemoveInternal(T) 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.
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.