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:
Calendar | A calendar list view |
Grid | A datasheet list view |
Html | A 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.