EdmFunctions.EndsWith(DbExpression, DbExpression) 方法

定義

建立會使用指定引數叫用標準 'EndsWith' 函式的 DbFunctionExpression,其中的引數都必須具有字串結果型別。 運算式的結果型別為布林值。

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

參數

stringArgument
DbExpression

表達式,指定在字串 結尾搜尋的字串 suffix

suffix
DbExpression

表達式,指定在 結尾 stringArgument搜尋的目標字串。

傳回

傳回布爾值的新 DbFunctionExpression,指出是否 stringArgument 以 結尾 suffix

適用於