Compartir a través de


DataParameter.IsNullable (Propiedad)

Recupera un valor booleano que indica si este parámetro puede tener un valor de nullreferencia null (Nothing en Visual Basic) .

Espacio de nombres:  Microsoft.VisualStudio.Data
Ensamblado:  Microsoft.VisualStudio.Data (en Microsoft.VisualStudio.Data.dll)

Sintaxis

'Declaración
Public Overridable ReadOnly Property IsNullable As Boolean
public virtual bool IsNullable { get; }
public:
virtual property bool IsNullable {
    bool get ();
}
abstract IsNullable : bool
override IsNullable : bool
function get IsNullable () : boolean

Valor de propiedad

Tipo: System.Boolean
Devuelve true si este parámetro puede tener un valor de nullreferencia null (Nothing en Visual Basic) ; si no devuelve false.

Excepciones

Excepción Condición
InvalidOperationException

Este parámetro no se deriva.

Comentarios

Un valor de nullreferencia null (Nothing en Visual Basic) en este caso es representado por la instancia de Value .

Seguridad de .NET Framework

Vea también

Referencia

DataParameter Clase

Microsoft.VisualStudio.Data (Espacio de nombres)