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

定義

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

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

パラメーター

stringArgument
DbExpression

右端の部分文字列の抽出元の文字列を指定する式。

length
DbExpression

stringArgumentから抽出する右端の部分文字列の長さを指定する式。

返品

lengthからstringArgument長さの右端の部分文字列を返す新しい DbFunctionExpression。

例外

stringArgument または lengthnull

stringArgument が無効です。

適用対象