次の方法で共有


SqlString コンストラクタ (Int32, SqlCompareOptions, Byte , Int32, Int32, Boolean)

SqlString クラスの新しいインスタンスを初期化します。

名前空間: System.Data.SqlTypes
アセンブリ: System.Data (system.data.dll 内)

構文

'宣言
Public Sub New ( _
    lcid As Integer, _
    compareOptions As SqlCompareOptions, _
    data As Byte(), _
    index As Integer, _
    count As Integer, _
    fUnicode As Boolean _
)
'使用
Dim lcid As Integer
Dim compareOptions As SqlCompareOptions
Dim data As Byte()
Dim index As Integer
Dim count As Integer
Dim fUnicode As Boolean

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

パラメータ

  • lcid
    新しい SqlString 構造体の地理的なロケールと言語を指定します。
  • compareOptions
    新しい SqlString 構造体の比較オプションを指定します。
  • data
    格納するデータ配列。
  • index
    配列内の開始インデックス。
  • count
    インデックスからコピーする文字数。
  • fUnicode
    Unicode でエンコードされている場合は true。それ以外の場合は false

プラットフォーム

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

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

.NET Compact Framework

サポート対象 : 2.0、1.0

参照

関連項目

SqlString 構造体
SqlString メンバ
System.Data.SqlTypes 名前空間

その他の技術情報

SqlTypes の使用