Inserts an
XLShape object at a specific position in the collection.
'Declaration
Public Overridable Function Insert( _
ByVal As System.Integer, _
ByVal As XLShape _
) As XLShape
public virtual XLShape Insert(
System.int ,
XLShape
)
Parameters
- index
- Position where the object will be inserted.
- shape
- Object to insert in the collection.
Return Value
A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another cell range already in the collection).
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