Back to Devexpress

ReportInitializer.GetParameter(String) Method

xtrareports-devexpress-dot-xtrareports-dot-reportinitializer-dot-getparameter-x28-system-dot-string-x29.md

latest2.1 KB
Original Source

ReportInitializer.GetParameter(String) Method

For internal use.

Namespace : DevExpress.XtraReports

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public Parameter GetParameter(
    string name
)
vb
Public Function GetParameter(
    name As String
) As Parameter

Parameters

NameType
nameString

Returns

Type
Parameter

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetParameter(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-aspnet-core-handle-server-side-errors/CS/DXAspNetCoreApp/Reports/XtraReportWithCustomException.cs#L21

csharp
// Parameters
this.StartDate = reportInitializer.GetParameter("StartDate");
this.EndDate = reportInitializer.GetParameter("EndDate");

See Also

ReportInitializer Class

ReportInitializer Members

DevExpress.XtraReports Namespace