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
'宣言
Public ReadOnly Property IsNullable As Boolean
Get
public bool IsNullable { get; }
public:
virtual property bool IsNullable {
bool get () sealed;
}
abstract IsNullable : bool
override IsNullable : bool
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.