Edit

Share via


Rune.IsValid Method

Definition

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.

public:
 static bool IsValid(System::UInt32 value);
[System.CLSCompliant(false)]
public static bool IsValid (uint value);
[<System.CLSCompliant(false)>]
static member IsValid : uint32 -> bool
Public Shared Function IsValid (value As UInteger) As Boolean

Parameters

value
UInt32

The Unicode scalar value.

Returns

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

Attributes

Applies to

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.

public:
 static bool IsValid(int value);
public static bool IsValid (int value);
static member IsValid : int -> bool
Public Shared Function IsValid (value As Integer) As Boolean

Parameters

value
Int32

The Unicode scalar value.

Returns

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

Applies to