Compartir a través de


: Lists.CreateContentType (Método) (Microsoft.SharePoint.Portal.WebControls)

Este miembro está reservado para uso interno y no está destinado a ser utilizado desde el código.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/CreateContentType", RequestNamespace:="https://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace:="https://schemas.microsoft.com/sharepoint/soap/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function CreateContentType ( _
    listName As String, _
    displayName As String, _
    parentType As String, _
    Fields As XmlNode, _
    contentTypeProperties As XmlNode _
) As String
'Uso
Dim instance As Lists
Dim listName As String
Dim displayName As String
Dim parentType As String
Dim Fields As XmlNode
Dim contentTypeProperties As XmlNode
Dim returnValue As String

returnValue = instance.CreateContentType(listName, displayName, parentType, Fields, contentTypeProperties)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/CreateContentType", RequestNamespace="https://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public string CreateContentType (
    string listName,
    string displayName,
    string parentType,
    XmlNode Fields,
    XmlNode contentTypeProperties
)

Parámetros

  • listName
  • displayName
  • parentType
  • Fields
  • contentTypeProperties

Vea también

Referencia

Lists (Clase)
Lists (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)