EdmFunctions.StartsWith(DbExpression, DbExpression) メソッド

定義

指定した引数を使用して正規の 'StartsWith' 関数を呼び出す DbFunctionExpression を作成します。この関数には、それぞれ文字列の結果型が必要です。 式の結果の型は Boolean です。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ StartsWith(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ prefix);
public static System.Data.Common.CommandTrees.DbFunctionExpression StartsWith(this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression prefix);
static member StartsWith : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function StartsWith (stringArgument As DbExpression, prefix As DbExpression) As DbFunctionExpression

パラメーター

stringArgument
DbExpression

文字列 prefixの先頭で検索される文字列を指定する式。

prefix
DbExpression

stringArgumentの開始時に検索されるターゲット文字列を指定する式。

返品

stringArgumentprefixで始まるかどうかを示すブール値を返す新しい DbFunctionExpression。

適用対象