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 命名空间