Share via


WebPartPagesWebService.AddWebPartToZone Method

Namespace:  websvcWebPartPages
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/AddWebPartToZone", RequestNamespace := "https://microsoft.com/sharepoint/webpartpages",  _
    ResponseNamespace := "https://microsoft.com/sharepoint/webpartpages",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function AddWebPartToZone ( _
    pageUrl As String, _
    webPartXml As String, _
    storage As Storage, _
    zoneId As String, _
    zoneIndex As Integer _
) As Guid
'Usage
Dim instance As WebPartPagesWebService
Dim pageUrl As String
Dim webPartXml As String
Dim storage As Storage
Dim zoneId As String
Dim zoneIndex As Integer
Dim returnValue As Guid

returnValue = instance.AddWebPartToZone(pageUrl, _
    webPartXml, storage, zoneId, zoneIndex)
[SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/AddWebPartToZone", RequestNamespace = "https://microsoft.com/sharepoint/webpartpages", 
    ResponseNamespace = "https://microsoft.com/sharepoint/webpartpages", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public Guid AddWebPartToZone(
    string pageUrl,
    string webPartXml,
    Storage storage,
    string zoneId,
    int zoneIndex
)

Parameters

Return Value

Type: System.Guid

See Also

Reference

WebPartPagesWebService Class

WebPartPagesWebService Members

websvcWebPartPages Namespace