Freigeben über


AllowBlank-Eigenschaft

Gets or sets a value that indicates whether an empty string is a valid value for the parameter.

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

Syntax

'Declaration
Public Property AllowBlank As Boolean
    Get
    Set
'Usage
Dim instance As ItemParameter
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)

Eigenschaftswert

Typ: System. . :: . .Boolean
true if an empty string is a valid value for the parameter; otherwise, false. The default is false.

Hinweise

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 Weglassen von Werten für optionale Webdienstobjekte.