Search Results for

    Show / Hide Table of Contents

    Class ViewOptions

    Options for creating a view

    Inheritance
    System.Object
    ViewOptions
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class ViewOptions : object

    Properties

    AssociatedContentTypeId

    Gets or sets the associated content type id

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

    BaseViewId

    Gets or sets the base view Id

    Declaration
    public int? BaseViewId { get; set; }
    Property Value
    System.Nullable<System.Int32>

    CalendarViewStyles

    Gets of sets the Calendar view styles

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

    Paged

    Gets or sets a value that specifies whether the new list view is a paged view.

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

    PersonalView

    Gets or sets a value that specifies whether the new list view is a personal view. If the value is false, the new list view is a public view.

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

    Query

    Gets or sets a value that specifies the query for the new list view.

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

    RowLimit

    Gets or sets a value that specifies the maximum number of list items that the new list view displays on a visual page of the list view.

    Declaration
    public int? RowLimit { get; set; }
    Property Value
    System.Nullable<System.Int32>

    SetAsDefaultView

    Gets or sets a value that specifies whether the new list view is the default list view.

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

    Title

    Gets or sets the value that specifies the display name of the new list view.

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

    ViewData

    Gets or sets the view data

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

    ViewFields

    Gets or sets the value that specifies the collection of field internal names for the list fields in the new list view.

    Declaration
    public string[] ViewFields { get; set; }
    Property Value
    System.String[]

    ViewType2

    Gets or sets the View Type 2 information

    Declaration
    public ViewType2 ViewType2 { get; set; }
    Property Value
    ViewType2

    ViewTypeKind

    Gets or sets a value that specifies the type of the new list view.

    Declaration
    public ViewTypeKind ViewTypeKind { get; set; }
    Property Value
    ViewTypeKind

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer