共用方式為


ItemParameter.AllowBlank 屬性

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

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property AllowBlank As Boolean 
    Get 
    Set
'用途
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)

屬性值

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

備註

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 省略選擇性 Web 服務物件的值.

請參閱

參考

ItemParameter 類別

ReportService2010 命名空間