ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Web.Viewer Assembly / GrapeCity.ActiveReports.Web.Viewer Namespace / ReportViewerConfiguration Class / UseConfig Method / UseConfig(String) Method
A System.String value indicating the path to the configuration file.
Example

In This Topic
UseConfig(String) Method
In This Topic
Specifies the path to the ActiveReports.config or GrapeCity.ActiveReports.config file.
Syntax
'Declaration
 
Public Overloads Function UseConfig( _
   ByVal path As String _
) As ReportViewerConfiguration
 

Parameters

path
A System.String value indicating the path to the configuration file.

Return Value

The current ReportViewerConfiguration instance.
Example
app.UseReportViewer(config =>
{
	config.UseConfig("/path/to/ActiveReports.config");
});
See Also