Share via


ReportParameter.AllowBlank Property

Indicates whether an empty string is a valid value for the parameter.

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

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

value = instance.AllowBlank

instance.AllowBlank = value
public bool AllowBlank { get; set; }
public:
property bool AllowBlank {
    bool get ();
    void set (bool value);
}
member AllowBlank : bool with get, set
function get AllowBlank () : boolean 
function set AllowBlank (value : boolean)

Property Value

Type: System.Boolean
A Boolean value. A value of true indicates that an empty string is a valid value for the parameter.

Remarks

This value is ignored if the Type property of the ReportParameter is not a String.

See Also

Reference

ReportParameter Class

ReportService2005 Namespace