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
'Usage
Dim instance As DataParameter
Dim value As Boolean
value = instance.IsNullable
public bool IsNullable { get; }
public:
virtual property bool IsNullable {
bool get () sealed;
}
public 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
- 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.