共用方式為


EntityFunctions.Right(String, Nullable<Int64>) 方法

定義

叫用標準 Right 函式。 如需標準 Right 函式的資訊,請參閱字串標準函式

public:
 static System::String ^ Right(System::String ^ stringArgument, Nullable<long> length);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Right")]
public static string Right (string stringArgument, long? length);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Right")>]
static member Right : string * Nullable<int64> -> string
Public Shared Function Right (stringArgument As String, length As Nullable(Of Long)) As String

參數

stringArgument
String

有效的字串運算式。

length
Nullable<Int64>

要傳回的字元數。

傳回

length 之字元的最右邊 stringArgument 數目。

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。

適用於