Vb.net Microsoft.Reporting.WinForms.ServerReport中的PerformSearch方法

Vb.net Microsoft.Reporting.WinForms.ServerReport中的PerformSearch方法,vb.net,winforms,reporting-services,microsoft-reporting,Vb.net,Winforms,Reporting Services,Microsoft Reporting,有人能解释一下Microsoft.Reporting.WinForms.ServerReport中的PerformSearch方法吗 ServerReport As Microsoft.Reporting.WinForms.ServerReport = Nothing int result=ServerReport.GetType.GetMethod("PerformSearch", Reflection.BindingFlags.Instance Or Reflection.BindingF

有人能解释一下Microsoft.Reporting.WinForms.ServerReport中的PerformSearch方法吗

ServerReport As Microsoft.Reporting.WinForms.ServerReport = Nothing

int result=ServerReport.GetType.GetMethod("PerformSearch", Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic).Invoke(ServerReport, {SearchValue, CurrentPage + 1, CurrentPage + 1})
PerformSearch方法的输入参数和返回值是什么?

好的,我加载、启动、打开了Microsoft.ReportViewer.WinForms.dll,搜索了
PerformSearch
,找到了该方法。这是该方法的外观:

    internal override int PerformSearch(string searchText, int startPage, int endPage)
    {
        int num;
        lock (this.m_syncObject)
        {
            if (!this.IsReadyForProcessingPostTasks)
            {
                throw new InvalidOperationException(CommonStrings.ReportNotReady);
            }
            num = this.Service.FindString(startPage, endPage, searchText);
        }
        return num;
    }

如果您想了解更多信息,您可以下载并安装JustDecompile。上面代码中的
FindString()
方法可在JustDecompile中单击;它会将您带到源代码中的该方法。

该方法的文档在哪里?如果您不知道确切的方法签名是什么,那么就不能针对某个方法编写反射代码,而获得反射代码的唯一方法是查阅文档。表示您尝试调用的方法不存在。它也不存在于.Type Microsoft.Reporting.WinForms.ServerReport.GetType上,您可以在DeclaredMethods下查看PerformSearch方法。我在web上的任何地方都找不到此方法的任何文档。如果您没有此方法的任何文档,那么您如何知道它的功能?我从哪里获得包含
Microsoft.Reporting.Winforms
命名空间的程序集?非常感谢@Robert Harvey