SqlBoolean.Value Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the SqlBoolean structure's value. This property is read-only.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public bool Value { get; }

Property Value

Type: System.Boolean

true if the SqlBoolean is True; otherwise false.

Exception Condition

The property is set to null.

.NET Framework
Available since 1.1
Return to top