EntityFunctions.Left(String, Nullable<Int64>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the canonical Left
function. For information about the canonical Left
function, see String Canonical Functions.
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
Parameters
- stringArgument
- String
A valid string expression.
Returns
The leftmost length
number of characters of stringArgument
.
- Attributes
Remarks
You cannot call this function directly. This function can only appear within a LINQ to Entities query.
This function is translated to a corresponding function in the database.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.