public sealed class ByteConverter : TypeConverter<byte>,
IHexConverter<byte>, ICloneable, ILocalizablePublic NotInheritable Class ByteConverter
Inherits TypeConverter(Of Byte)
Implements IHexConverter(Of Byte), ICloneable,
ILocalizablepublic ref class ByteConverter sealed : public TypeConverter<unsigned char>,
IHexConverter<unsigned char>, ICloneable, ILocalizable[<SealedAttribute>]
type ByteConverter =
class
inherit TypeConverter<byte>
interface IHexConverter<byte>
interface ICloneable
interface ILocalizable
end| ByteConverter | Initializes a new ByteConverter instance. |
| AcceptsNull |
Gets a value indicating whether the converter accepts
null references as input.
(Overrides TypeConverterTAcceptsNull) |
| DataType |
The data type the converter converts.
(Inherited from TypeConverterT) |
| DefaultValue |
Gets the value to return if the parser finds no data in the CSV,
or if parsing fails and
the Throwing property is false.
(Inherited from TypeConverterT) |
| Format | The format string to use. |
| FormatProvider | Gets the IFormatProvider instance that provides culture-specific formatting information. |
| Styles | Gets a combined value of the NumberStyles enum that provides additional information for parsing. |
| Throwing |
Gets a value indicating whether the converter throws a
FormatException
when a parsing error occurs, or if it returns
DefaultValue value instead.
(Inherited from TypeConverterT) |
| Clone | Creates a new object that is a copy of the current instance. |
| ConvertToString |
Converts value to a String or null.
(Overrides TypeConverterTConvertToString(T)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| Parse |
Parses a read-only span of characters and returns
the corresponding .NET object.
(Inherited from TypeConverterT) |
| ToHexConverter | Initializes a new instance of IHexConverterT that can convert hexadecimal string values. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryParse |
Tries to parse a read-only span of characters as a T value.
(Overrides TypeConverterTTryParse(ReadOnlySpanChar, T)) |