SPUserCodePropertyCollection.Item Property (Int32)

Gets or sets the property object at the specified index in the collection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As SPUserCodeProperty
    Get
    Set
'Usage
Dim instance As SPUserCodePropertyCollection
Dim index As Integer
Dim value As SPUserCodeProperty

value = instance(index)

instance(index) = value
public SPUserCodeProperty this[
    int index
] { get; set; }

Parameters

  • index
    Type: System.Int32

    The zero-based index of the property object.

Property Value

Type: Microsoft.SharePoint.WebPartPages.SPUserCodeProperty
The property object at the specified index of the collection.

See Also

Reference

SPUserCodePropertyCollection Class

SPUserCodePropertyCollection Members

Item Overload

Microsoft.SharePoint.WebPartPages Namespace