SPWebPartConnectionCollection.Item property (Int32)

Gets or sets the SPWebPartConnection at the specified index from the SPWebPartConnectionCollection.

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

Syntax

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

value = instance(index)

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

Parameters

Property value

Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnection
The connection at the specified index in the SPWebPartConnectionCollection.

See also

Reference

SPWebPartConnectionCollection class

SPWebPartConnectionCollection members

Item overload

Microsoft.SharePoint.WebPartPages namespace