ViewList Event
Fired for each view.
Syntax
virtual int FireViewList(SPViewViewListEventParams *e);
typedef struct {
char* ViewId;
char* ViewName;
char* ViewType;
char* ViewURL;
int ViewIsDefault;
int reserved;
} SPViewViewListEventParams;
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.