共用方式為


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