Export (0) Print
Expand All

SqlBytes.Length Property

Gets the length of the value that is contained in the SqlBytes instance.

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

member Length : int64 with get

Property Value

Type: System.Int64
A Int64 value representing the length of the value that is contained in the SqlBytes instance.
Returns -1 if no buffer is available to the instance or if the value is null.
Returns a Length for a stream-wrapped instance.

The default value is 0.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft