SqlString Constructor (Int32, SqlCompareOptions, Byte[], Int32, Int32, Boolean)

 
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.

Initializes a new instance of the SqlString class.

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

public SqlString(
	int lcid,
	SqlCompareOptions compareOptions,
	byte[] data,
	int index,
	int count,
	bool fUnicode
)

Parameters

lcid
Type: System.Int32

Specifies the geographical locale and language for the new SqlString structure.

compareOptions
Type: System.Data.SqlTypes.SqlCompareOptions

Specifies the compare options for the new SqlString structure.

data
Type: System.Byte[]

The data array to store.

index
Type: System.Int32

The starting index within the array.

count
Type: System.Int32

The number of characters from index to copy.

fUnicode
Type: System.Boolean

true if Unicode encoded. Otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: