SqlBoolean.ByteValue Property

 
System_CAPS_noteNote

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 value of the SqlBoolean structure as a byte.

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

public byte ByteValue { get; }

Property Value

Type: System.Byte

A byte representing the value of the SqlBoolean structure.

The byte value will be either 0 or 1.

.NET Framework
Available since 1.1
Return to top
Show: