WebPartConnectionCollection.Item Property (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the WebPartConnection object at the specified index.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public WebPartConnection this[
	int index
] { get; set; }


Type: System.Int32

The zero-based index location at which to get the WebPartConnection.

Property Value

Type: System.Web.UI.WebControls.WebParts.WebPartConnection

The WebPartConnection at the index specified.

Use this property to retrieve a particular connection if you know its index in the collection. You can search for a particular connection using the ID property.

.NET Framework
Available since 2.0
Return to top