WebPartPagesWebService.ConvertWebPartFormat Method
Namespace: [Webpartpages Web service]
Web service reference: http://Site/_vti_bin/Webpartpages.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/ConvertWebPartFormat", RequestNamespace := "https://microsoft.com/sharepoint/webpartpages", _
ResponseNamespace := "https://microsoft.com/sharepoint/webpartpages", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ConvertWebPartFormat ( _
inputFormat As String, _
formatConversionOption As FormatConversionOption _
) As String
'Usage
Dim instance As WebPartPagesWebService
Dim inputFormat As String
Dim formatConversionOption As FormatConversionOption
Dim returnValue As String
returnValue = instance.ConvertWebPartFormat(inputFormat, _
formatConversionOption)
[SoapDocumentMethodAttribute("https://microsoft.com/sharepoint/webpartpages/ConvertWebPartFormat", RequestNamespace = "https://microsoft.com/sharepoint/webpartpages",
ResponseNamespace = "https://microsoft.com/sharepoint/webpartpages",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string ConvertWebPartFormat(
string inputFormat,
FormatConversionOption formatConversionOption
)
Parameters
- inputFormat
Type: System.String
- formatConversionOption
Type: [Webpartpages Web service].FormatConversionOption
Return Value
Type: System.String
Remarks
To access the WebPartPagesWebService service and its methods, set a Web reference to http://Virtual_Server_Name:Port_Number/_vti_adm/WebPartPages.asmx.