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)

public:
property long long Length {
	long long 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
Available since 2.0
Return to top
Show: