SqlBytes.SetLength Method (Int64)

 
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.

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: