SqlFunctions.Ascii(String) 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.
Returns the ASCII code value of the left-most character of a character expression.
[System.Data.Entity.DbFunction("SqlServer", "ASCII")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Ascii")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<int> Ascii (string arg);
static member Ascii : string -> Nullable<int>
Public Shared Function Ascii (arg As String) As Nullable(Of Integer)
Parameters
- arg
- String
A valid string.
Returns
The ASCII code of the first character in the input string.
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework