Share via


ReportParameter.DefaultValue Property

Gets or sets the default value to use for the parameter (if not provided by the user). If no value is provided as a part of the definition or by the user, the value is null. Required if there is no Prompt and either Nullable is False or a ValidValues list is provided that does not contain Null (an omitted Value).

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Property DefaultValue As DefaultValue 
    Get 
    Set
'Usage
Dim instance As ReportParameter 
Dim value As DefaultValue 

value = instance.DefaultValue

instance.DefaultValue = value
public DefaultValue DefaultValue { get; set; }
public:
property DefaultValue^ DefaultValue {
    DefaultValue^ get ();
    void set (DefaultValue^ value);
}
member DefaultValue : DefaultValue with get, set
function get DefaultValue () : DefaultValue 
function set DefaultValue (value : DefaultValue)

Property Value

Type: Microsoft.ReportingServices.RdlObjectModel.DefaultValue
A DefaultValue object.

See Also

Reference

ReportParameter Class

Microsoft.ReportingServices.RdlObjectModel Namespace