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)
Available in Sandboxed Solutions: No
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
index
Type: System.Int32The zero-based index of the SPWebPartConnection.
Property Value
Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnection
The connection at the specified index in the SPWebPartConnectionCollection.
See Also
Reference
SPWebPartConnectionCollection Class