Search Results for

    Show / Hide Table of Contents

    Interface IDocumentSet

    Public interface to define a Document Set.

    Inherited Members
    IDataModel<IDocumentSet>.Requested
    IDataModel<IDocumentSet>.HasValue(String)
    IDataModel<IDocumentSet>.HasChanged(String)
    IDataModel<IDocumentSet>.IsPropertyAvailable(Expression<Func<IDocumentSet, Object>>)
    IDataModel<IDocumentSet>.ArePropertiesAvailable(Expression<Func<IDocumentSet, Object>>[])
    IDataModel<IDocumentSet>.EnsureProperties(Expression<Func<IDocumentSet, Object>>[])
    IDataModel<IDocumentSet>.EnsurePropertiesAsync(Expression<Func<IDocumentSet, Object>>[])
    IDataModel<IDocumentSet>.ExecuteRequestAsync(ApiRequest)
    IDataModel<IDocumentSet>.ExecuteRequest(ApiRequest)
    IDataModel<IDocumentSet>.ExecuteRequestBatchAsync(ApiRequest)
    IDataModel<IDocumentSet>.ExecuteRequestBatch(ApiRequest)
    IDataModel<IDocumentSet>.ExecuteRequestBatchAsync(Batch, ApiRequest)
    IDataModel<IDocumentSet>.ExecuteRequestBatch(Batch, ApiRequest)
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IDocumentSet : IDataModel<IDocumentSet>, IDataModelParent, IDataModelWithContext, ISupportModules<IDocumentSet>

    Properties

    AllowedContentTypes

    Content types allowed in document set.

    Declaration
    IList<IContentTypeInfo> AllowedContentTypes { get; set; }
    Property Value
    PnP.Core.Model.SharePoint.IList<IContentTypeInfo>

    ContentTypeId

    Content Type Id

    Declaration
    string ContentTypeId { get; set; }
    Property Value
    System.String

    DefaultContents

    Default contents of document set.

    Declaration
    IList<IDocumentSetContent> DefaultContents { get; set; }
    Property Value
    PnP.Core.Model.SharePoint.IList<IDocumentSetContent>

    SharedColumns

    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>

    ShouldPrefixNameToFile

    Indicates whether to add the name of the document set to each file name.

    Declaration
    bool ShouldPrefixNameToFile { get; set; }
    Property Value
    System.Boolean

    WelcomePageColumns

    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>

    WelcomePageUrl

    Welcome page absolute URL.

    Declaration
    string WelcomePageUrl { get; set; }
    Property Value
    System.String

    Methods

    Update(DocumentSetOptions)

    Updates the document set

    Declaration
    IDocumentSet Update(DocumentSetOptions options)
    Parameters
    DocumentSetOptions options

    Returns
    IDocumentSet

    UpdateAsync(DocumentSetOptions)

    Updates the document set

    Declaration
    Task<IDocumentSet> UpdateAsync(DocumentSetOptions options)
    Parameters
    DocumentSetOptions options

    Returns
    Task<IDocumentSet>

    Extension Methods

    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer