SqlBytes::Length Property
.NET Framework (current version)
Gets the length of the value that is contained in the SqlBytes instance.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System::Int64A 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
Available since 2.0
Available since 2.0
Show: