Compartilhar via


SPLimitedWebPartManager.MoveWebPart method

Move uma Web Part de uma zona de Web Part para outra, ou pode ser usado para alterar a classificação relativa de uma Web Part em uma zona.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Sub MoveWebPart ( _
    webPart As WebPart, _
    zoneID As String, _
    zoneIndex As Integer _
)
'Uso
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
Dim zoneID As String
Dim zoneIndex As Integer

instance.MoveWebPart(webPart, zoneID, _
    zoneIndex)
public void MoveWebPart(
    WebPart webPart,
    string zoneID,
    int zoneIndex
)

Parâmetros

Ver também

Referência

SPLimitedWebPartManager class

SPLimitedWebPartManager members

Microsoft.SharePoint.WebPartPages namespace