Search Results for

    Show / Hide Table of Contents

    Class ViewOptions

    Options for creating a view

    Inheritance
    object
    ViewOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class ViewOptions

    Properties

    AssociatedContentTypeId

    Gets or sets the associated content type id

    Declaration
    public string AssociatedContentTypeId { get; set; }
    Property Value
    string

    BaseViewId

    Gets or sets the base view Id

    Declaration
    public int? BaseViewId { get; set; }
    Property Value
    int?

    CalendarViewStyles

    Gets of sets the Calendar view styles

    Declaration
    public string CalendarViewStyles { get; set; }
    Property Value
    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
    bool

    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
    bool

    Query

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

    Declaration
    public string Query { get; set; }
    Property Value
    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
    int?

    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
    bool

    Title

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

    Declaration
    public string Title { get; set; }
    Property Value
    string

    ViewData

    Gets or sets the view data

    Declaration
    public string ViewData { get; set; }
    Property Value
    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
    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