Share via


DataParameter.IsNullable Property

Gets a Boolean value indicating whether the current parameter can have a null value provided that it is derived.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public ReadOnly Property IsNullable As Boolean
public bool IsNullable { get; }
public:
virtual property bool IsNullable {
    bool get () sealed;
}
abstract IsNullable : bool with get 
override IsNullable : bool with get
final function get IsNullable () : boolean

Property Value

Type: System.Boolean
true if this parameter can have a null value; otherwise, false.

Implements

IVsDataParameterDescriptor.IsNullable

Exceptions

Exception Condition
InvalidOperationException

This parameter is not derived.

Remarks

A null value in this case is represented by the Value instance.

.NET Framework Security

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data.Framework Namespace