SPUserCodePropertyCollection.Insert Method
Inserts the specified SPUserCodeProperty into the collection at the specified index.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
userCodeProperty As SPUserCodeProperty _
)
'Usage
Dim instance As SPUserCodePropertyCollection
Dim index As Integer
Dim userCodeProperty As SPUserCodeProperty
instance.Insert(index, userCodeProperty)
public void Insert(
int index,
SPUserCodeProperty userCodeProperty
)
Parameters
index
Type: System.Int32The zero-based index at which the property object is inserted.
userCodeProperty
Type: Microsoft.SharePoint.WebPartPages.SPUserCodePropertyThe property object that will be inserted into the collection.
Remarks
This method inserts the SPUserCodeProperty into the collection at the specified index.
See Also
Reference
SPUserCodePropertyCollection Class