WebPartManagerInternals.SetZoneIndex(WebPart, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the index of the specified control within its zone relative to the other WebPart controls within the 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)
Parameters
- zoneIndex
- Int32
The index of webPart
within its zone relative to other controls in the zone.
Remarks
The SetZoneIndex method determines the ordinal position that webPart
occupies in its zone, relative to other server controls in the zone.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.