共用方式為


ReportViewer.SearchState 屬性

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

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

語法

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

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

屬性值

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

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WinForms 命名空間