Share via


UnknownXmlElementCollection.Insert method

Adds an item to the specified location in the collection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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.Int32

    The index of the location in 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

UnknownXmlElementCollection members

Microsoft.SharePoint.WebPartPages namespace