Inserts a document in the collection at the location specified by the parameter 'index'.
            
            
            Syntax
| ASP.NET Ajax Javascript (Specification) |   | 
|---|
function insertDocument( 
    : number(Integer),
    : ImGearDocument
) : (Any);  | 
 
| ASP.NET Ajax Javascript (Usage) |   | 
|---|
var resultVar = instanceOfImGearDocumentCollection.insertDocument(number(Integer),ImGearDocument);  | 
 
            Parameters
- index
 
-  A zero-based index in the document collection where the document is to be inserted.
 - imGearDocument
 
- The document to be inserted in the collection.
 
             
            
            
            
            
            
            
            
            
        See Also