Lists.UpdateContentType 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/UpdateContentType", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function UpdateContentType ( _
listname As String, _
contentTypeID As String, _
contentTypeProperties As XmlNode, _
newFields As XmlNode, _
updateFields As XmlNode, _
deleteFields As XmlNode _
) As XmlNode
'Usage
Dim instance As Lists
Dim listname As String
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(listname, _
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 listname,
string contentTypeID,
XmlNode contentTypeProperties,
XmlNode newFields,
XmlNode updateFields,
XmlNode deleteFields
)
Parameters
- listname
Type: System.String
- contentTypeID
Type: System.String
- contentTypeProperties
Type: System.Xml.XmlNode
- newFields
Type: System.Xml.XmlNode
- updateFields
Type: System.Xml.XmlNode
- deleteFields
Type: System.Xml.XmlNode
Return Value
Type: System.Xml.XmlNode