WebPart.ZoneIndex property

Gets a value that specifies the index position of a Web Part within the Web Part zone.

Namespace:  Microsoft.SharePoint.Client.WebParts
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property ZoneIndex As Integer
    Get
'Usage
Dim instance As WebPart
Dim value As Integer

value = instance.ZoneIndex
public int ZoneIndex { get; }

Property value

Type: System.Int32
Returns aInt32 instance representing the index position of a Web Part within the Web Part zone.

Remarks

The value is the numerical order of a Web Part within the Web Part zone. The first Web Part in a Web Part zone must have an index value of zero.

See also

Reference

WebPart class

WebPart members

Microsoft.SharePoint.Client.WebParts namespace