Partager via


WebPart.ZoneIndex - Propriété

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

Espace de noms :  Microsoft.SharePoint.Client.WebParts
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ZoneIndex As Integer
    Get
'Utilisation
Dim instance As WebPart
Dim value As Integer

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

Valeur de propriété

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

Remarques

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.

Voir aussi

Référence

WebPart classe

WebPart - Membres

Microsoft.SharePoint.Client.WebParts - Espace de noms