Compartilhar via


WebPartManagerInternals.AddWebPart(WebPart) Método

Definição

Adiciona um WebPart ou um controle de servidor à coleção de controles WebPart do controle WebPartManager em uma página da Web.

public:
 void AddWebPart(System::Web::UI::WebControls::WebParts::WebPart ^ webPart);
public void AddWebPart (System.Web.UI.WebControls.WebParts.WebPart webPart);
member this.AddWebPart : System.Web.UI.WebControls.WebParts.WebPart -> unit
Public Sub AddWebPart (webPart As WebPart)

Parâmetros

webPart
WebPart

O WebPart que está sendo adicionado à coleção de controles do controle WebPartManager.

Aplica-se a