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)

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