WebPartManagerInternals.SetZoneIndex(WebPart, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit l’index du contrôle spécifié dans sa zone par rapport aux autres WebPart contrôles de la zone.
public:
void SetZoneIndex(System::Web::UI::WebControls::WebParts::WebPart ^ webPart, int zoneIndex);
public void SetZoneIndex(System.Web.UI.WebControls.WebParts.WebPart webPart, int zoneIndex);
member this.SetZoneIndex : System.Web.UI.WebControls.WebParts.WebPart * int -> unit
Public Sub SetZoneIndex (webPart As WebPart, zoneIndex As Integer)
Paramètres
- zoneIndex
- Int32
Index de webPart sa zone par rapport aux autres contrôles de la zone.
Remarques
La SetZoneIndex méthode détermine la position ordinale qui webPart occupe dans sa zone, par rapport aux autres contrôles serveur de la zone.