Čítať v angličtine Upraviť

Zdieľať cez


Rune.IsValid 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.

Overloads

IsValid(UInt32)

Returns a value that indicates whether a 32-bit unsigned integer represents a valid Unicode scalar value; that is, it is in the range [ U+0000..U+D7FF ], inclusive, or [ U+E000..U+10FFFF ], inclusive.

IsValid(Int32)

Returns a value that indicates whether a 32-bit signed integer represents a valid Unicode scalar value; that is, it is in the range [ U+0000..U+D7FF ], inclusive; or [ U+E000..U+10FFFF ], inclusive.

IsValid(UInt32)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

Important

This API is not CLS-compliant.

Returns a value that indicates whether a 32-bit unsigned integer represents a valid Unicode scalar value; that is, it is in the range [ U+0000..U+D7FF ], inclusive, or [ U+E000..U+10FFFF ], inclusive.

C#
[System.CLSCompliant(false)]
public static bool IsValid(uint value);

Parameters

value
UInt32

The Unicode scalar value.

Returns

true if value is a valid Unicode scalar value; otherwise, false.

Attributes

Applies to

.NET 10 a ďalšie verzie
Produkt Verzie
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

IsValid(Int32)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

Returns a value that indicates whether a 32-bit signed integer represents a valid Unicode scalar value; that is, it is in the range [ U+0000..U+D7FF ], inclusive; or [ U+E000..U+10FFFF ], inclusive.

C#
public static bool IsValid(int value);

Parameters

value
Int32

The Unicode scalar value.

Returns

true if value is a valid Unicode scalar value; otherwise, false.

Applies to

.NET 10 a ďalšie verzie
Produkt Verzie
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10