次の方法で共有


SqlCeFunctions.CharIndex メソッド

定義

オーバーロード

CharIndex(Byte[], Byte[])

ある式を別の式から探し、見つかった式の開始位置を返します。

CharIndex(String, String)

ある式を別の式から探し、見つかった式の開始位置を返します。

CharIndex(Byte[], Byte[], Nullable<Int32>)

ある式を別の式から探し、見つかった式の開始位置を返します。

CharIndex(Byte[], Byte[], Nullable<Int64>)

ある式を別の式から探し、見つかった式の開始位置を返します。

CharIndex(String, String, Nullable<Int32>)

ある式を別の式から探し、見つかった式の開始位置を返します。

CharIndex(String, String, Nullable<Int64>)

ある式を別の式から探し、見つかった式の開始位置を返します。

CharIndex(Byte[], Byte[])

ある式を別の式から探し、見つかった式の開始位置を返します。

[System.Data.Entity.DbFunction("SqlServerCe", "CHARINDEX")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toFind")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toSearch")]
public static Nullable<int> CharIndex (byte[] toFind, byte[] toSearch);
static member CharIndex : byte[] * byte[] -> Nullable<int>
Public Shared Function CharIndex (toFind As Byte(), toSearch As Byte()) As Nullable(Of Integer)

パラメーター

toFind
Byte[]

検索する文字列式。

toSearch
Byte[]

検索範囲となる文字列式。

戻り値

toSearch で見つかった場合の toFind の開始位置。

属性

適用対象

CharIndex(String, String)

ある式を別の式から探し、見つかった式の開始位置を返します。

[System.Data.Entity.DbFunction("SqlServerCe", "CHARINDEX")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toFind")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toSearch")]
public static Nullable<int> CharIndex (string toFind, string toSearch);
static member CharIndex : string * string -> Nullable<int>
Public Shared Function CharIndex (toFind As String, toSearch As String) As Nullable(Of Integer)

パラメーター

toFind
String

検索する文字列式。

toSearch
String

検索範囲となる文字列式。

戻り値

toSearch で見つかった場合の toFind の開始位置。

属性

適用対象

CharIndex(Byte[], Byte[], Nullable<Int32>)

ある式を別の式から探し、見つかった式の開始位置を返します。

[System.Data.Entity.DbFunction("SqlServerCe", "CHARINDEX")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toFind")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="startLocation")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toSearch")]
public static Nullable<int> CharIndex (byte[] toFind, byte[] toSearch, Nullable<int> startLocation);
static member CharIndex : byte[] * byte[] * Nullable<int> -> Nullable<int>
Public Shared Function CharIndex (toFind As Byte(), toSearch As Byte(), startLocation As Nullable(Of Integer)) As Nullable(Of Integer)

パラメーター

toFind
Byte[]

検索する文字列式。

toSearch
Byte[]

検索範囲となる文字列式。

startLocation
Nullable<Int32>

toSearch 内の検索開始文字位置。

戻り値

toSearch で見つかった場合の toFind の開始位置。

属性

適用対象

CharIndex(Byte[], Byte[], Nullable<Int64>)

ある式を別の式から探し、見つかった式の開始位置を返します。

[System.Data.Entity.DbFunction("SqlServerCe", "CHARINDEX")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toSearch")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="startLocation")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toFind")]
public static Nullable<long> CharIndex (byte[] toFind, byte[] toSearch, Nullable<long> startLocation);
static member CharIndex : byte[] * byte[] * Nullable<int64> -> Nullable<int64>
Public Shared Function CharIndex (toFind As Byte(), toSearch As Byte(), startLocation As Nullable(Of Long)) As Nullable(Of Long)

パラメーター

toFind
Byte[]

検索する文字列式。

toSearch
Byte[]

検索範囲となる文字列式。

startLocation
Nullable<Int64>

toSearch 内の検索開始文字位置。

戻り値

toSearch で見つかった場合の toFind の開始位置。

属性

適用対象

CharIndex(String, String, Nullable<Int32>)

ある式を別の式から探し、見つかった式の開始位置を返します。

[System.Data.Entity.DbFunction("SqlServerCe", "CHARINDEX")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toFind")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toSearch")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="startLocation")]
public static Nullable<int> CharIndex (string toFind, string toSearch, Nullable<int> startLocation);
static member CharIndex : string * string * Nullable<int> -> Nullable<int>
Public Shared Function CharIndex (toFind As String, toSearch As String, startLocation As Nullable(Of Integer)) As Nullable(Of Integer)

パラメーター

toFind
String

検索する文字列式。

toSearch
String

検索範囲となる文字列式。

startLocation
Nullable<Int32>

toSearch 内の検索開始文字位置。

戻り値

toSearch で見つかった場合の toFind の開始位置。

属性

適用対象

CharIndex(String, String, Nullable<Int64>)

ある式を別の式から探し、見つかった式の開始位置を返します。

[System.Data.Entity.DbFunction("SqlServerCe", "CHARINDEX")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toSearch")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="toFind")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="startLocation")]
public static Nullable<long> CharIndex (string toFind, string toSearch, Nullable<long> startLocation);
static member CharIndex : string * string * Nullable<int64> -> Nullable<int64>
Public Shared Function CharIndex (toFind As String, toSearch As String, startLocation As Nullable(Of Long)) As Nullable(Of Long)

パラメーター

toFind
String

検索する文字列式。

toSearch
String

検索範囲となる文字列式。

startLocation
Nullable<Int64>

toSearch 内の検索開始文字位置。

戻り値

Nullable<T> Int64 toSearch で見つかった場合の toFind の開始位置である 値の 。

属性

適用対象