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