Freigeben über


SqlString-Konstruktor (Int32, SqlCompareOptions, Byte , Int32, Int32)

Initialisiert eine neue Instanz der SqlString-Klasse.

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

Syntax

'Declaration
Public Sub New ( _
    lcid As Integer, _
    compareOptions As SqlCompareOptions, _
    data As Byte(), _
    index As Integer, _
    count As Integer _
)
'Usage
Dim lcid As Integer
Dim compareOptions As SqlCompareOptions
Dim data As Byte()
Dim index As Integer
Dim count As Integer

Dim instance As New SqlString(lcid, compareOptions, data, index, count)
public SqlString (
    int lcid,
    SqlCompareOptions compareOptions,
    byte[] data,
    int index,
    int count
)
public:
SqlString (
    int lcid, 
    SqlCompareOptions compareOptions, 
    array<unsigned char>^ data, 
    int index, 
    int count
)
public SqlString (
    int lcid, 
    SqlCompareOptions compareOptions, 
    byte[] data, 
    int index, 
    int count
)
public function SqlString (
    lcid : int, 
    compareOptions : SqlCompareOptions, 
    data : byte[], 
    index : int, 
    count : int
)

Parameter

  • lcid
    Gibt das geografische Gebietsschema und die Sprache für die neue SqlString-Struktur an.
  • compareOptions
    Gibt die Vergleichsoptionen für die neue SqlString-Struktur an.
  • data
    Das zu speichernde Datenarray.
  • index
    Der Anfangsindex im Array.
  • count
    Die Anzahl der ab dem Index zu kopierenden Zeichen.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

SqlString-Struktur
SqlString-Member
System.Data.SqlTypes-Namespace

Weitere Ressourcen

Arbeiten mit SqlTypes