EdmFunctions.Trim(DbExpression) メソッド

定義

指定された引数で正規の Trim 関数を呼び出す DbFunctionExpression を作成します。指定する引数の結果型は文字列である必要があります。 式の結果型も文字列です。

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

パラメーター

stringArgument
DbExpression

先頭と末尾の空白を削除する文字列を指定する式。

戻り値

先頭と末尾のスペースが削除された の stringArgument 値を返す新しい DbFunctionExpression。

例外

stringArgumentnullです。

stringArgument が無効です。

適用対象