Table of Contents

Interface IContentTypeHub

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Public interface to define the Content Type Hub object of SharePoint Online

public interface IContentTypeHub : IDataModel<IContentTypeHub>, IDataModelParent, IDataModelWithContext, ISupportModules<IContentTypeHub>, IDataModelGet<IContentTypeHub>, IDataModelLoad<IContentTypeHub>
Inherited Members
Extension Methods

Properties

ContentTypes

Collection of content types in the content type hub Implements IQueryable<T>.
See Requesting model collections and IQueryable performance considerations to learn more.

IContentTypeCollection ContentTypes { get; }

Property Value

IContentTypeCollection

Fields

Collection of fields in the current content type hub Implements IQueryable<T>.
See Requesting model collections and IQueryable performance considerations to learn more.

IFieldCollection Fields { get; }

Property Value

IFieldCollection

Methods

GetSiteId()

Gets the site id of the content type hub

string GetSiteId()

Returns

string

Site id of the ct hub

GetSiteIdAsync()

Gets the site id of the content type hub

Task<string> GetSiteIdAsync()

Returns

Task<string>

Site id of the ct hub