SPUserCodePropertyCollection.Insert 方法
将指定的SPUserCodeProperty插入到集合中指定索引处。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.Int32在此处插入 property 对象的索引从 0 开始。
userCodeProperty
类型:Microsoft.SharePoint.WebPartPages.SPUserCodeProperty将插入到集合的属性对象。
备注
此方法将SPUserCodeProperty插入到集合中指定索引处。
另请参阅
引用
SPUserCodePropertyCollection 类