다음을 통해 공유


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

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