EdmFunctions.Length(DbExpression) メソッド

定義

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

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

パラメーター

stringArgument
DbExpression

長さを計算する文字列を指定する式。

返品

stringArgumentの長さを返す新しい DbFunctionExpression。

例外

stringArgumentnullです。

stringArgument が無効です。

適用対象