Udostępnij za pośrednictwem


ItemParameter.AllowBlank Property

Definition

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

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.

Applies to