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

ContentType.ContentType members

SharePoint Dev Documents|Last Updated: 6/28/2017
|
1 Contributor

Constructor for ContentType class

Namespace:OfficeDevPnP.Core.Framework.Provisioning.Model
Assembly: OfficeDevPnP.Core.dll

Syntax

public ContentType(string id, string name, string description, string group, bool contenttypeSealed, bool hidden, bool readyonly, string documentTemplate, bool overwrite, IEnumerable<FieldRef> fieldRefs)

Parameters

id

  Type: System.String
  Content Type ID

name

  Type: System.String
  Content Type Name

description

  Type: System.String
  Content Type Description

group

  Type: System.String
  Content Type Group

contenttypeSealed

  Type: System.Boolean
  Sealed Content Type

hidden

  Type: System.Boolean
  Hidden Content Type

readyonly

  Type: System.Boolean
  ReadOnly Content Type

documentTemplate

  Type: System.String
  Document template of the content type

overwrite

  Type: System.Boolean
  Specify true to overwrite

fieldRefs

  Type: System.Collections.Generic.IEnumerable<OfficeDevPnP.Core.Framework.Provisioning.Model.FieldRef>
  Content Type Field References

See also

© 2018 Microsoft