Interface IDocumentSet
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Public interface to define a Document Set.
public interface IDocumentSet : IDataModel<IDocumentSet>, IDataModelParent, IDataModelWithContext, ISupportModules<IDocumentSet>
- Inherited Members
- Extension Methods
Properties
AllowedContentTypes
Content types allowed in document set.
IList<IContentTypeInfo> AllowedContentTypes { get; set; }
Property Value
ContentTypeId
Content Type Id
string ContentTypeId { get; set; }
Property Value
DefaultContents
Default contents of document set.
IList<IDocumentSetContent> DefaultContents { get; set; }
Property Value
SharedColumns
Columns edited on the document set that synchronize to all documents in the set. These are read-only on the documents themselves.
IList<IField> SharedColumns { get; set; }
Property Value
ShouldPrefixNameToFile
Indicates whether to add the name of the document set to each file name.
bool ShouldPrefixNameToFile { get; set; }
Property Value
WelcomePageColumns
Specifies columns to show on the welcome page for the document set.
IList<IField> WelcomePageColumns { get; set; }
Property Value
WelcomePageUrl
Welcome page absolute URL.
string WelcomePageUrl { get; set; }
Property Value
Methods
Update(DocumentSetOptions)
Updates the document set
IDocumentSet Update(DocumentSetOptions options)
Parameters
optionsDocumentSetOptions
Returns
UpdateAsync(DocumentSetOptions)
Updates the document set
Task<IDocumentSet> UpdateAsync(DocumentSetOptions options)
Parameters
optionsDocumentSetOptions