Lists.UpdateContentTypeXmlDocument 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/UpdateContentTypeXmlDocument", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function UpdateContentTypeXmlDocument ( _
listName As String, _
contentTypeId As String, _
newDocument As XmlNode _
) As XmlNode
'Usage
Dim instance As Lists
Dim listName As String
Dim contentTypeId As String
Dim newDocument As XmlNode
Dim returnValue As XmlNode
returnValue = instance.UpdateContentTypeXmlDocument(listName, _
contentTypeId, newDocument)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/UpdateContentTypeXmlDocument", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode UpdateContentTypeXmlDocument(
string listName,
string contentTypeId,
XmlNode newDocument
)
Parameters
- listName
Type: System.String
- contentTypeId
Type: System.String
- newDocument
Type: System.Xml.XmlNode
Return Value
Type: System.Xml.XmlNode