共用方式為


Lists.GetListContentTypesAndProperties Method

Namespace:  [Lists Web service]
Web service reference: http://Site/_vti_bin/Lists.asmx

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

Return Value

Type: System.Xml.XmlNode
Returns XmlNode.

See Also

Reference

Lists Class

Lists Members

Lists Web Service