SqlFunctions.Unicode(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 integer value, as defined by the Unicode standard, for the first character of the input expression.
public:
static Nullable<int> Unicode(System::String ^ arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "UNICODE")]
public static int? Unicode (string arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "UNICODE")>]
static member Unicode : string -> Nullable<int>
Public Shared Function Unicode (arg As String) As Nullable(Of Integer)
Parameters
- arg
- String
A valid string.
Returns
The character code for the first character in the input string.
- 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. For information about the corresponding SQL Server function, see UNICODE (Transact-SQL).