ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Web.Viewer Assembly / GrapeCity.ActiveReports.Web.Viewer Namespace / ReportViewerConfiguration Class / UseResourceProvider Method / UseResourceProvider(IReportResourceProvider) Method
A IReportResourceProvider object representing the custom resource store provider.
Example

In This Topic
    UseResourceProvider(IReportResourceProvider) Method
    In This Topic
    Uses a custom resource store provider.
    Syntax
    'Declaration
     
    Public Overloads Function UseResourceProvider( _
       ByVal reportResourcesPro As IReportResourceProvider _
    ) As ReportViewerConfiguration

    Parameters

    reportResourcesPro
    A IReportResourceProvider object representing the custom resource store provider.

    Return Value

    The current ReportViewerConfiguration instance.
    Exceptions
    ExceptionDescription
    Thrown if reportResourcesPro is null.
    Example
    app.UseReportViewer(config =>
    {
    	// Your implementation of IReportResourceProvider.
    	config.UseResourceProvider(reportResourcesPro);
    });
    See Also