共用方式為


SPUserCodePropertyCollection.Insert method

將指定的SPUserCodeProperty插入至位於指定索引處的集合。

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

Syntax

'宣告
Public Sub Insert ( _
    index As Integer, _
    userCodeProperty As SPUserCodeProperty _
)
'用途
Dim instance As SPUserCodePropertyCollection
Dim index As Integer
Dim userCodeProperty As SPUserCodeProperty

instance.Insert(index, userCodeProperty)
public void Insert(
    int index,
    SPUserCodeProperty userCodeProperty
)

參數

  • index
    Type: System.Int32

    屬性物件插入處之以零起始的索引。

備註

這個方法會將SPUserCodeProperty插入位於指定索引處的集合。

請參閱

參照

SPUserCodePropertyCollection class

SPUserCodePropertyCollection members

Microsoft.SharePoint.WebPartPages namespace