共用方式為


ReportParameter.AllowBlank 屬性

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

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

語法

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

屬性值

型別:System.Boolean
A Boolean value.

備註

The AllowBlank property is ignored if the value of the Type property is not a string.

The value for the AllowBlank property has a corresponding AllowBlankSpecified property in the SSRS Web service proxy class. Because AllowBlank is read-only and cannot be set by end users, you do not need to specify this property. For more information about specifying properties, see 省略選擇性 Web 服務物件的值.

請參閱

參考

ReportParameter 類別

ReportExecution2005 命名空間