Compartilhar via


ToolPane.CreateZoneDropdown method (WebPartPage)

NOTE: This API is now obsolete.

Cria um controle de System.Web.UI.WebControls.DropDownList preenchido com a lista de zonas na página à qual o usuário pode adicionar Web Parts.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
<ObsoleteAttribute("This function is deprecated. Use CreateZoneDropdown(SPWebPartManager webPartManager) instead.",  _
    False)> _
Public Shared Function CreateZoneDropdown ( _
    webPartPage As WebPartPage _
) As DropDownList
'Uso
Dim webPartPage As WebPartPage
Dim returnValue As DropDownList

returnValue = ToolPane.CreateZoneDropdown(webPartPage)
[ObsoleteAttribute("This function is deprecated. Use CreateZoneDropdown(SPWebPartManager webPartManager) instead.", 
    false)]
public static DropDownList CreateZoneDropdown(
    WebPartPage webPartPage
)

Parâmetros

Valor retornado

Type: System.Web.UI.WebControls.DropDownList
Um controle de System.Web.UI.WebControls.DropDownList preenchido com a lista de zonas na página à qual o usuário pode adicionar Web Parts.

Ver também

Referência

ToolPane class

ToolPane members

CreateZoneDropdown overload

Microsoft.SharePoint.WebPartPages namespace