Insert Method (SceneEntityCollection)
Inserts an item to the SceneEntityCollection at the specified index.
Syntax
public void Insert( int index, IBaseSceneEntity item )
Parameters
- index
- The zero-based index at which item should be inserted.
- item
- The object to insert into the SceneEntityCollection.
Exceptions
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | index is not a valid index in the SceneEntityCollection. |
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