WebPartZoneCollection.Item Property (String)


Returns a specific member of the collection by passing in a unique identifier.

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

public WebPartZoneBase this[
	string id
] { get; }


Type: System.String

The unique identifier for a particular WebPartZone within the collection.

Property Value

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

The first WebPartZone in the collection whose ID equals the value of id.

The Item property enables you to access a WebPartZone object within a WebPartZoneCollection collection by using a string identifier for a particular zone. All matching on string identifiers is case-insensitive.

.NET Framework
Available since 2.0
Return to top