共用方式為


ReportParameter.AllowBlank 屬性

Gets or sets a value that indicates whether the value for this parameter is allowed to be the empty string.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.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
true if the value for this parameter is allowed to be the empty string; otherwise, false.

請參閱

參考

ReportParameter 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間