IReportViewerMessages2 接口

Defines methods and properties for implementing customized user interface messages.

命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll 中)

语法

声明
用法

备注

You can implement the IReportViewerMessages2 interface to provide custom localization of the ReportViewer control user interface. This implementation is loaded by the ReportViewer control via a custom application setting in the Web.config configuration file with the key ReportViewerMessages.

For example:

<appSettings>

<add key="ReportViewerMessages" value="MyClass, MyAssembly" />

</appSettings>

Note注意

Please see ReportViewer 的 Web.config 设置 for more information on Web.config file settings.

If a null string value for a property is returned, the ReportViewer control will display the original user interface string for that item.

另请参见

参考

IReportViewerMessages2 成员
Microsoft.Reporting.WebForms 命名空间