UnknownXmlElementCollection.Insert Method
Adds an item to the specified location in the collection.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
value As XmlElement _
)
'Usage
Dim instance As UnknownXmlElementCollection
Dim index As Integer
Dim value As XmlElement
instance.Insert(index, value)
public void Insert(
int index,
XmlElement value
)
Parameters
index
Type: System.Int32The index of the location in the collection.
value
Type: System.Xml.XmlElementThe item to be inserted into the collection.
Remarks
The Insert method adds the item to the end of the collection if the index is set to –1.
See Also
Reference
UnknownXmlElementCollection Class