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
Type: System.Int32集合中的位置索引。
value
Type: System.Xml.XmlElement要插入至集合的項目。
備註
如果index設定為 – 1, Insert方法會加入項目至集合結尾。
請參閱
參照
UnknownXmlElementCollection class