Compartilhar via


Lists.GetListContentTypesAndProperties method

Retorna o esquema de definição de tipo de conteúdo e as propriedades para o tipo de conteúdo de lista especificado.

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

Syntax

'Declaração
<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
'Uso
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
)

Parâmetros

  • listName
    Type: System.String

    Uma string que representa o nome da lista.

  • contentTypeId
    Type: System.String

    Uma string que representa a identificação de tipo de conteúdo do tipo de conteúdo para o qual excluir o elemento XMLDocument .

  • propertyPrefix
    Type: System.String

    Uma cadeia de caracteres que propriedades incluídas o retorno deve iniciar.

  • includeWebProperties
    Type: System.Boolean

    Um valor Boolean que indica se as propriedades da web pai da lista devem ser incluídas.

  • includeWebPropertiesSpecified
    Type: System.Boolean

    Um valor Boolean que indica se as propriedades da web pai da lista devem ser incluídas.

Valor retornado

Type: System.Xml.XmlNode
O XML que representa os tipos de conteúdo na lista e propriedades solicitadas.

Ver também

Referência

Lists class

Lists members

WebSvcLists namespace