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
webPartPage
Type: Microsoft.SharePoint.WebPartPages.WebPartPageA página à qual o usuário deseja adicionar Web Parts.
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.