ReportParameter.AllowBlank Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether an empty string is a valid value for the parameter.
public:
property bool AllowBlank { bool get(); void set(bool value); };
public bool AllowBlank { get; set; }
member this.AllowBlank : bool with get, set
Public Property AllowBlank As Boolean
Property Value
true
if an empty string is a valid value for the parameter; otherwise, false
. The default is false
.
Remarks
This value is ignored if the Type property of the ReportParameter is not a String
.
The value for the AllowBlank property has a corresponding AllowBlankSpecified property that indicates whether this property should be omitted from the Web service call.
For more information about omitting properties, see Omitting Values for Optional Web Service Objects.