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

ContentTypeBinding Class

SharePoint Dev Documents|Last Updated: 8/7/2017
|
1 Contributor

Domain Object for Content Type Binding in the Provisioning Template

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

Inheritance Hierarchy

System.Object
OfficeDevPnP.Core.Framework.Provisioning.Model.BaseModel

Syntax

public class ContentTypeBinding: BaseModel, IEquatable<ContentTypeBinding>

Constructors

NameDescription
ContentTypeBinding()Domain Object for Content Type Binding in the Provisioning Template

Properties

NameDescription
ContentTypeIdGets or Sets the Content Type ID
DefaultGets or Sets if the Content Type should be the default Content Type in the library
HiddenDeclares if the Content Type should be Hidden from New button of the list or library, optional attribute.
RemoveDeclares if the Content Type should be Removed from the list or library

Methods

NameDescription
Equals(Object)Compares object with ContentTypeBinding
Equals(ContentTypeBinding)Compares ContentTypeBinding object based on ContentTypeId, Default and Remove properties.
GetHashCode()Gets the hash code

See also

© 2018 Microsoft