Lists.ApplyContentTypeTemplateToList Method
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/ApplyContentTypeToList", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ApplyContentTypeTemplateToList ( _
webUrl As String, _
contentTypeID As String, _
listName As String _
) As XmlNode
'Usage
Dim instance As Lists
Dim webUrl As String
Dim contentTypeID As String
Dim listName As String
Dim returnValue As XmlNode
returnValue = instance.ApplyContentTypeTemplateToList(webUrl, _
contentTypeID, listName)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/ApplyContentTypeToList", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode ApplyContentTypeTemplateToList(
string webUrl,
string contentTypeID,
string listName
)
Parameters
- webUrl
Type: System.String
- contentTypeID
Type: System.String
- listName
Type: System.String
Return Value
Type: System.Xml.XmlNode