SharePoint Integrator V4 - Online Help
SharePoint Integrator V4
Questions / Feedback?

ViewList Event

Fired for each view.

Syntax

[VB.NET]
Public Event OnViewList As OnViewListHandler
[C#]
public event OnViewListHandler OnViewList;

public delegate void OnViewListHandler(object sender, SpviewViewListEventArgs e);

class SpviewViewListEventArgs : EventArgs {
  string ViewId {get;}
  string ViewName {get;}
  string ViewType {get;}
  string ViewURL {get;}
  bool ViewIsDefault {get;}
}

Remarks

This event fires once for each view returned by a call to ListViews.

ViewId is the unique identifier of the view.

ViewName is the display name of the view.

ViewType is the type of view. Possible values are:

CalendarA calendar list view
GridA datasheet list view
HtmlA standard HTML list view

ViewURL is the relative URL of the view.

ViewIsDefault indicates if the current view is the default view for the List.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0