共用方式為


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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ZoneIndex As Integer
    Get
'Usage
Dim instance As WebPart
Dim value As Integer

value = instance.ZoneIndex
[RemoteAttribute]
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