Nullable 属性

Gets or sets a value that indicates whether the value of the parameter can be nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing).

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

语法

声明
Public Property Nullable As Boolean
    Get
    Set
用法
Dim instance As ItemParameter
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 服务对象的值.