共用方式為


ReportViewer.SearchState 屬性

取得搜尋文字以及目前報表搜尋作業的起始頁。

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

語法

'宣告
<BrowsableAttribute(False)> _
Public Property SearchState As SearchState
    Get
    Private Set
'用途
Dim instance As ReportViewer
Dim value As SearchState

value = instance.SearchState
[BrowsableAttribute(false)]
public SearchState SearchState { get; private set; }
[BrowsableAttribute(false)]
public:
property SearchState^ SearchState {
    SearchState^ get ();
    private: void set (SearchState^ value);
}
[<BrowsableAttribute(false)>]
member SearchState : SearchState with get, private set
function get SearchState () : SearchState
private function set SearchState (value : SearchState)

屬性值

型別:Microsoft.Reporting.WebForms.SearchState
SearchState 物件,如果沒有持續進行的報表搜尋作業則為 null

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間