EntityFunctions.Left(String, Nullable<Int64>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟動典範 Left 功能。 關於典範 Left 函數的資訊,請參見 「弦典範函數」。
public:
static System::String ^ Left(System::String ^ stringArgument, Nullable<long> length);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "Left")]
public static string Left(string stringArgument, long? length);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "Left")>]
static member Left : string * Nullable<int64> -> string
Public Shared Function Left (stringArgument As String, length As Nullable(Of Long)) As String
參數
- stringArgument
- String
一個有效的字串表達式。
傳回
中length最stringArgument左邊的字元數。
- 屬性
備註
你不能直接呼叫這個函式。 此函式只能出現在 LINQ 對 Entities 查詢中。
這個函式會被轉換成資料庫中的對應函式。