다음을 통해 공유


AllowBlank 속성

Gets or sets a value that indicates whether an empty string is a valid value for the parameter.

네임스페이스:  ReportService2006
어셈블리:  ReportService2006.dll의 ReportService2006

구문

‘선언
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 an empty string is a valid value for the parameter; otherwise, false. The default is false.

주의

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

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 선택적 웹 서비스 개체에 대한 값 생략.