Compartilhar via


WebPartAddingEventArgs(WebPart, WebPartZoneBase, Int32) Construtor

Definição

Inicializa uma nova instância da classe WebPartAddingEventArgs.

public:
 WebPartAddingEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ webPart, System::Web::UI::WebControls::WebParts::WebPartZoneBase ^ zone, int zoneIndex);
public WebPartAddingEventArgs (System.Web.UI.WebControls.WebParts.WebPart webPart, System.Web.UI.WebControls.WebParts.WebPartZoneBase zone, int zoneIndex);
new System.Web.UI.WebControls.WebParts.WebPartAddingEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.WebPartZoneBase * int -> System.Web.UI.WebControls.WebParts.WebPartAddingEventArgs
Public Sub New (webPart As WebPart, zone As WebPartZoneBase, zoneIndex As Integer)

Parâmetros

webPart
WebPart

O WebPart (ou o controle de servidor ou usuário) a ser adicionado a uma página da Web ou aberto em uma página.

zone
WebPartZoneBase

O WebPartZoneBase ao qual o webPart está sendo adicionado.

zoneIndex
Int32

Um inteiro que representa a posição ordinal que o webPart ocupa no zone, em relação a outros controles no zone.

Aplica-se a