SqlChars Constructor (Char[])


Initializes a new instance of the SqlChars class based on the specified character array.

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

public SqlChars(
	char[] buffer


Type: System.Char[]

A Char array.

The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

If a null reference is passed in, the instance is set to null.

.NET Framework
Available since 2.0
Return to top