Share via


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 命名空间