共用方式為


Nullable 屬性

Gets or sets a value that indicates whether the value of the parameter can be nullNothingnullptrunitnull 參考 (在 Visual Basic 中為 Nothing).

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Property Nullable As Boolean
    Get
    Set
'用途
Dim instance As ReportParameter
Dim value As Boolean

value = instance.Nullable

instance.Nullable = value
public bool Nullable { get; set; }
public:
property bool Nullable {
    bool get ();
    void set (bool value);
}
member Nullable : bool with get, set
function get Nullable () : boolean
function set Nullable (value : boolean)

屬性值

型別:System. . :: . .Boolean
true if the value of the parameter can be nullNothingnullptrunitnull 參考 (在 Visual Basic 中為 Nothing); otherwise, false. The default is false.

備註

The value for the Nullable property has a corresponding NullableSpecified property that indicates whether this property should be omitted from the Web service call.

For more information about omitting properties, see 省略選擇性 Web 服務物件的值.