共用方式為


AllowBlank 屬性

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

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.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. A value of true indicates that an empty string is a valid value for the parameter.

備註

This value is ignored if the Type property of the ReportParameter is not a String.