Share via


Lists.DeleteContentType 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/DeleteContentType", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function DeleteContentType ( _
    listname As String, _
    contentTypeID As String _
) As XmlNode
'Usage
Dim instance As Lists
Dim listname As String
Dim contentTypeID As String
Dim returnValue As XmlNode

returnValue = instance.DeleteContentType(listname, _
    contentTypeID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/DeleteContentType", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode DeleteContentType(
    string listname,
    string contentTypeID
)

Parameters

Return Value

Type: System.Xml.XmlNode

See Also

Reference

Lists Class

Lists Members

Microsoft.SharePoint.Portal.WebControls Namespace