Inserts a entity into the collection at the specified index.

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Insert(
	int index,
	IDocumentObject entity
)
Public Sub Insert ( 
	index As Integer,
	entity As IDocumentObject
)
public:
void Insert(
	int index, 
	IDocumentObject^ entity
)
member Insert : 
        index : int * 
        entity : IDocumentObject -> unit 

Parameters

index
Int32
The index.
entity
IDocumentObject
the document object.

See Also