Compartir a través de


WebPartManagerInternals.AddWebPart(WebPart) Método

Definición

Agrega un control WebPart o un control de servidor a la colección de controles WebPartManager del control WebPart de una página 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

Control WebPart que se va a agregar a la colección de controles del control WebPartManager.

Se aplica a