ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Core.Rendering.ReportParameters Namespace / Parameter Class / Create Method / Create(String,ExpressionInfo,ParameterType,ParameterState,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,OrderByCondition,OrderByDirection,Report) Method
The parameter name.
The text to display to a user when prompting the a for the parameter's value.
The data type of the new parameter.
Specifies the state of the new parameter.
Specifies whether the new parameter is allowed to be Null.
Specifies whether an empty string is a valid value for the new parameter.
Specifies whether parameter should not be displayed to the user.
Specifies whether the new parameter accepts multiple values.
Specifies whether the new parameter is used in a query.
Specifies whether the parameter value supposes to be multiline.
Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters.
Specifies whether the valid values are ordered by labels, values or none for the parameter.
Specifies whether the valid values are ordered in ascending or descending order for the parameter.
The report.

In This Topic
    Create(String,ExpressionInfo,ParameterType,ParameterState,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,OrderByCondition,OrderByDirection,Report) Method
    In This Topic
    Creates new instance of Parameter with specified properties.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal name As String, _
       ByVal prompt As GrapeCity.Enterprise.Data.Expressions.ExpressionInfo, _
       ByVal dataType As ParameterType, _
       ByVal state As ParameterState, _
       ByVal nullable As Boolean, _
       ByVal allowBlank As Boolean, _
       ByVal hidden As Boolean, _
       ByVal multiValue As Boolean, _
       ByVal usedInQuery As Boolean, _
       ByVal multiline As Boolean, _
       ByVal dateOnly As Boolean, _
       ByVal orderByCondition As OrderByCondition, _
       ByVal orderByDirection As OrderByDirection, _
       Optional ByVal report As Report _
    ) As Parameter
    public static Parameter Create( 
       string name,
       GrapeCity.Enterprise.Data.Expressions.ExpressionInfo prompt,
       ParameterType dataType,
       ParameterState state,
       bool nullable,
       bool allowBlank,
       bool hidden,
       bool multiValue,
       bool usedInQuery,
       bool multiline,
       bool dateOnly,
       OrderByCondition orderByCondition,
       OrderByDirection orderByDirection,
       Report report
    )

    Parameters

    name
    The parameter name.
    prompt
    The text to display to a user when prompting the a for the parameter's value.
    dataType
    The data type of the new parameter.
    state
    Specifies the state of the new parameter.
    nullable
    Specifies whether the new parameter is allowed to be Null.
    allowBlank
    Specifies whether an empty string is a valid value for the new parameter.
    hidden
    Specifies whether parameter should not be displayed to the user.
    multiValue
    Specifies whether the new parameter accepts multiple values.
    usedInQuery
    Specifies whether the new parameter is used in a query.
    multiline
    Specifies whether the parameter value supposes to be multiline.
    dateOnly
    Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters.
    orderByCondition
    Specifies whether the valid values are ordered by labels, values or none for the parameter.
    orderByDirection
    Specifies whether the valid values are ordered in ascending or descending order for the parameter.
    report
    The report.

    Return Value

    New Parameter instance.
    See Also