SPLimitedWebPartManager.GetZoneID Method
Gets the Web Part's Web Part Zone.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetZoneID ( _
webPart As WebPart _
) As String
'Usage
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
Dim returnValue As String
returnValue = instance.GetZoneID(webPart)
public string GetZoneID(
WebPart webPart
)
Parameters
- webPart
Type: System.Web.UI.WebControls.WebParts.WebPart
Return Value
Type: System.String