WebPartDescriptionCollection.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 a member of the collection based on its index within the collection.

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

public WebPartDescription this[
	int index
] { get; }


Type: System.Int32

The index of a particular WebPartDescription in a collection.

Property Value

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

A WebPartDescription at the specified index in the collection.

The Item indexer allows you to access the underlying WebPartDescription objects in a WebPartDescriptionCollection collection by index.

.NET Framework
Available since 2.0
Return to top