WebPartManagerInternals::GetZoneID Method (WebPart^)
.NET Framework (current version)
Gets the ID of a zone that contains the specified WebPart or server control.
Assembly: System.Web (in System.Web.dll)
Parameters
- webPart
-
Type:
System.Web.UI.WebControls.WebParts::WebPart^
A WebPart that resides in a zone.
Return Value
Type: System::String^A string that represents the ID of the zone that contains webPart.
The GetZoneID method returns the ID of the zone that contains the control referenced by the webPart parameter.
.NET Framework
Available since 2.0
Available since 2.0
Show:
