SqlCeFunctions.Unicode Method (String)

 

Returns the integer value, as defined by the Unicode standard, for the first character of the input expression.

Namespace:   System.Data.Entity.SqlServerCompact
Assembly:  EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.dll)

[DbFunctionAttribute("SqlServerCe", "UNICODE")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg")]
public static Nullable<int> Unicode(
	string arg
)

Parameters

arg
Type: System.String

A valid string.

Return Value

Type: System.Nullable<Int32>

The character code for the first character in the input string.