Share via


SPWebPartConnectionCollection.Item Property (String)

Gets the SPWebPartConnection with the specified identifier (ID) from the SPWebPartConnectionCollection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As String _
) As SPWebPartConnection
    Get
'Usage
Dim instance As SPWebPartConnectionCollection
Dim id As String
Dim value As SPWebPartConnection

value = instance(id)
public SPWebPartConnection this[
    string id
] { get; }

Parameters

Property Value

Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnection
The SPWebPartConnection with the specified ID in the SPWebPartConnectionCollection.

See Also

Reference

SPWebPartConnectionCollection Class

SPWebPartConnectionCollection Members

Item Overload

Microsoft.SharePoint.WebPartPages Namespace