SqlBytes.SetLength Method (Int64)

 

Sets the length of this SqlBytes instance.

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

public void SetLength(
	long value
)

Parameters

value
Type: System.Int64

The Int64 long value representing the length.

This method will trigger an internal conversion to a managed buffer for an instance built on top of an unmanaged buffer.

.NET Framework
Available since 2.0
Return to top
Show: