Przeczytaj w języku angielskim Edytuj

Udostępnij za pośrednictwem


Rune.GetNumericValue(Rune) 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.

Gets the numeric value associated with the specified rune.

C#
public static double GetNumericValue(System.Text.Rune value);

Parameters

value
Rune

The rune for which to get the numeric value.

Returns

The numeric value associated with value, or -1 if value doesn't represent a numeric character.

Remarks

This method has behavior equivalent to CharUnicodeInfo.GetNumericValue. Refer to that documentation for more information.

Applies to

Produkt Wersje
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10