DataParameter.IsNullable, propriété

Récupère une valeur booléenne indiquant si ce paramètre peut avoir une valeur d' nullune référence null (Nothing en Visual Basic) .

Espace de noms :  Microsoft.VisualStudio.Data
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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

Valeur de propriété

Type : System.Boolean
Retourne true si ce paramètre peut avoir une valeur d' nullune référence null (Nothing en Visual Basic) ; sinon retourne false.

Exceptions

Exception Condition
InvalidOperationException

Ce paramètre n'est pas dérivé.

Notes

Une valeur d' nullune référence null (Nothing en Visual Basic) dans ce cas est représentée par l'instance d' Value .

Sécurité .NET Framework

Voir aussi

Référence

DataParameter Classe

Microsoft.VisualStudio.Data, espace de noms