[HideModuleNameAttribute]
public sealed class CharExtensions
<ExtensionAttribute>
<HideModuleNameAttribute>
Public NotInheritable Class CharExtensions
Dim instance As CharExtensions
[ExtensionAttribute]
[HideModuleNameAttribute]
public ref class CharExtensions sealed
[<SealedAttribute>]
[<ExtensionAttribute>]
[<HideModuleNameAttribute>]
type CharExtensions = class end
No code example is currently available or this language may not be supported.
EncodeXml | Encodes a character to its equivalent XML character code. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
EscapeRegEx | Escapes any RegEx reserved character in the source Char. |
EscapeXml | Escapes any Xml reserved character in the source Char. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
IsConsonant | This function determines whether a character is considered a consonant. In the English language, the basic set of vowels consists of the letters 'b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'q', 'r', 's', 't', 'v', 'w', 'x' and 'z'. However, there are additional characters and diacritics that represent consonants in various languages and writing systems. This function takes into account a wide range of such characters. |
IsDiacritic | Determines whether a character is diacritic or else contains a diacritical mark. |
IsHexadecimal | Determines whether a character is a Hexadecimal character. |
IsVowel | This function determines whether a character is considered a vowel. In the English language, the basic set of vowels consists of the letters 'a', 'e', 'i', 'o' and 'u'. However, there are additional characters and diacritics that represent vowels or modified vowel sounds in various languages and writing systems. This function takes into account a wide range of such characters, including but not limited to: • Basic vowels: 'a', 'e', 'i', 'o' and 'u'. • Latin Accented vowels: 'á', 'é', 'í', 'ó', 'ú', etc. • Extended Latin characters: 'ā', 'ą', 'ǻ', 'ḁ', 'å', 'ã', etc. • Greek characters: 'α', 'ἑ', 'ἵ', 'ὅ', 'ῄ', 'ῲ', etc. • Cyrillic characters: 'ы', 'я', 'ю', etc. • Other characters and ligatures: 'æ', 'œ', 'ʊ', 'ø', 'ʌ', etc. |
Repeat | Returns the source character repeated the specified amount of times. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |