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 服务对象的值.