Lists.GetListContentTypesAndProperties method

Returns the content type definition schema and properties for the specified list content type.

Namespace:  WebSvcLists
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/GetListContentTypesAndProperties", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetListContentTypesAndProperties ( _
    listName As String, _
    contentTypeId As String, _
    propertyPrefix As String, _
    includeWebProperties As Boolean, _
    includeWebPropertiesSpecified As Boolean _
) As XmlNode
'Usage
Dim instance As Lists
Dim listName As String
Dim contentTypeId As String
Dim propertyPrefix As String
Dim includeWebProperties As Boolean
Dim includeWebPropertiesSpecified As Boolean
Dim returnValue As XmlNode

returnValue = instance.GetListContentTypesAndProperties(listName, _
    contentTypeId, propertyPrefix, includeWebProperties, _
    includeWebPropertiesSpecified)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/GetListContentTypesAndProperties", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode GetListContentTypesAndProperties(
    string listName,
    string contentTypeId,
    string propertyPrefix,
    bool includeWebProperties,
    bool includeWebPropertiesSpecified
)

Parameters

  • listName
    Type: System.String

    A string that represents the name of the list.

  • contentTypeId
    Type: System.String

    A string that represents the content type ID of the content type to which to delete the XMLDocument element.

  • propertyPrefix
    Type: System.String

    A string which properties included in the return should start.

  • includeWebProperties
    Type: System.Boolean

    A Boolean value indicating whether the properties from the parent web of the list should be included.

  • includeWebPropertiesSpecified
    Type: System.Boolean

    A Boolean value indicating whether the properties from the parent web of the list should be included.

Return value

Type: System.Xml.XmlNode
The XML representing the content types on the list and the properties requested.

See also

Reference

Lists class

Lists members

WebSvcLists namespace