Class ReportParameterBuilder
Class for ReportParameterBuilder.
Inheritance
System.Object
ReportParameterBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class ReportParameterBuilder
Constructors
ReportParameterBuilder(ReportParameter)
Initializes a new instance of the ReportParameterBuilder class.
Declaration
public ReportParameterBuilder(ReportParameter parameters)
Parameters
Type | Name | Description |
---|---|---|
ReportParameter | parameters | The parameters. |
ReportParameterBuilder(ReportParameter, ReportViewer)
Initializes a new instance of the ReportParameterBuilder class.
Declaration
public ReportParameterBuilder(ReportParameter parameters, ReportViewer reportViewer)
Parameters
Type | Name | Description |
---|---|---|
ReportParameter | parameters | The parameters. |
ReportViewer | reportViewer | The report viewer. |
Methods
Add()
Declaration
public void Add()
Labels(List<String>)
Gets or sets the parameter labels.
Declaration
public ReportParameterBuilder Labels(List<string> value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | value | The list of labels value. |
Returns
Type | Description |
---|---|
ReportParameterBuilder | ReportParameterBuilder. |
Name(String)
Gets or sets the name of the parameter.
Declaration
public ReportParameterBuilder Name(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
ReportParameterBuilder | ReportParameterBuilder. |
Nullable(Boolean)
Gets or sets whether the parameter allows nullable value or not.
Declaration
public ReportParameterBuilder Nullable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | if set to |
Returns
Type | Description |
---|---|
ReportParameterBuilder | ReportParameterBuilder. |
Prompt(String)
Gets or sets the prompt message associated with the specified parameter.
Declaration
public ReportParameterBuilder Prompt(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
ReportParameterBuilder | ReportParameterBuilder. |
Values(List<String>)
Gets or sets the parameter values.
Declaration
public ReportParameterBuilder Values(List<string> value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | value | The list of value. |
Returns
Type | Description |
---|---|
ReportParameterBuilder | ReportParameterBuilder. |