Export (0) Print
Expand All

Lists.GetListContentTypesAndProperties method

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

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/GetListContentTypesAndProperties", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/", 
	ResponseNamespace = "http://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.

Community Additions

ADD
Show:
© 2014 Microsoft