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

FieldAndContentTypeExtensions.CreateContentTypeFromXMLFile 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 CreateContentTypeFromXMLFile(this Web web, String absolutePathToFile)

Parameters

web

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

absolutePathToFile

  Type: System.String
  Absolute path to the xml location

Return Value

Type: ContentType

See also

© 2018 Microsoft