Remove Method (SceneEntityCollection)
Removes the first occurrence of a specific object from the SceneEntityCollection.
Syntax
public bool Remove( IBaseSceneEntity item )
Parameters
- item
- The object to remove from the SceneEntityCollection.
Return Value
true if item was successfully removed from the SceneEntityCollection; otherwise, false. This method also returns false if item is not found in the original SceneEntityCollection.
Exceptions
Exception | Description |
---|---|
System.NotSupportedException | The SceneEntityCollection is read-only. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also