共用方式為


UnknownXmlElementCollection.Insert method

將項目加入至集合中指定的位置。

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

Syntax

'宣告
Public Sub Insert ( _
    index As Integer, _
    value As XmlElement _
)
'用途
Dim instance As UnknownXmlElementCollection
Dim index As Integer
Dim value As XmlElement

instance.Insert(index, value)
public void Insert(
    int index,
    XmlElement value
)

參數

備註

如果index設定為 – 1, Insert方法會加入項目至集合結尾。

請參閱

參照

UnknownXmlElementCollection class

UnknownXmlElementCollection members

Microsoft.SharePoint.WebPartPages namespace