共用方式為


ReportViewer.BookmarkNavigation 事件

發生在使用者瀏覽至報表中的書籤時。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
Public Event BookmarkNavigation As BookmarkNavigationEventHandler
'用途
Dim instance As ReportViewer
Dim handler As BookmarkNavigationEventHandler

AddHandler instance.BookmarkNavigation, handler
public event BookmarkNavigationEventHandler BookmarkNavigation
public:
 event BookmarkNavigationEventHandler^ BookmarkNavigation {
    void add (BookmarkNavigationEventHandler^ value);
    void remove (BookmarkNavigationEventHandler^ value);
}
member BookmarkNavigation : IEvent<BookmarkNavigationEventHandler,
    BookmarkNavigationEventArgs>
JScript 支援使用事件,但不支援新的宣告。

備註

當使用者瀏覽至報表中的書籤時,將會發生這個事件。這個事件的相關資訊會在 BookmarkNavigationEventArgs 物件中傳遞至 BookmarkNavigationEventHandler 委派,由它來處理事件。

如需處理事件的詳細資訊,請參閱Consuming Events

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間