Table of contents
TOC
Collapse the table of content
Expand the table of content

FieldAndContentTypeExtensions.CreateContentTypeFromXML Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Create a content type based on the classic feature framework structure.

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static ContentType CreateContentTypeFromXML(this Web web, XDocument xDocument)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web to operate against

xDocument

  Type: System.Xml.Linq.XDocument
  Actual XML document

Return Value

Type: ContentType

See also

© 2018 Microsoft