DataParameter.IsNullable Property
Retrieves a Boolean value indicating whether this parameter can have a nulla null reference (Nothing in Visual Basic) value.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property IsNullable As Boolean
public virtual bool IsNullable { get; }
public:
virtual property bool IsNullable {
bool get ();
}
abstract IsNullable : bool with get
override IsNullable : bool with get
function get IsNullable () : boolean
Property Value
Type: System.Boolean
Returns true if this parameter can have a nulla null reference (Nothing in Visual Basic) value; otherwise returns false.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This parameter is not derived. |
Remarks
A nulla null reference (Nothing in Visual Basic) value in this case is represented by the Value instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.