Webs.UpdateContentType method
Updates the specified site content type.
Namespace: WebSvcWebs
Assembly: STSSOAP (in STSSOAP.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/UpdateContentType", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function UpdateContentType ( _
contentTypeId As String, _
contentTypeProperties As XmlNode, _
newFields As XmlNode, _
updateFields As XmlNode, _
deleteFields As XmlNode _
) As XmlNode
'Usage
Dim instance As Webs
Dim contentTypeId As String
Dim contentTypeProperties As XmlNode
Dim newFields As XmlNode
Dim updateFields As XmlNode
Dim deleteFields As XmlNode
Dim returnValue As XmlNode
returnValue = instance.UpdateContentType(contentTypeId, _
contentTypeProperties, newFields, _
updateFields, deleteFields)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/UpdateContentType", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode UpdateContentType(
string contentTypeId,
XmlNode contentTypeProperties,
XmlNode newFields,
XmlNode updateFields,
XmlNode deleteFields
)
Parameters
contentTypeId
Type: System.StringA string that represents the content type ID of the site content type to update.
contentTypeProperties
Type: System.Xml.XmlNodeA string that represents the properties to update on the site content type.
newFields
Type: System.Xml.XmlNodeA string that represents the collection of columns to add to the site content type.
updateFields
Type: System.Xml.XmlNodeA string that represents the collection of columns to update on the site.
deleteFields
Type: System.Xml.XmlNodeA string that represents the collection of columns to delete from the site content type.
Return value
Type: System.Xml.XmlNode