FormatConverterT, TFormatType Methods |
The FormatConverterT, TFormatType generic type exposes the following members.
Name | Description | |
---|---|---|
Convert |
Converts the specified instance from one format to another.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetConversionCallback |
Gets the callback that converts from one format to another.
| |
GetConversionDistance |
Gets the number of intermediate conversions that must be done to convert from
from to to. For example, if a conversion
function is defined to directly convert between the types, 1 will be returned.
If the two types are identical, 0 will be returned. If no conversion exists
at all, MaxValue will be returned.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterConversion(TFormatType, TFormatType, FormatConversionCallbackT, TFormatType) |
Registers a conversion between formats.
| |
RegisterConversion(TFormatType, TFormatType, FormatConversionCallbackT, TFormatType, TryFormatConversionCallbackT, TFormatType) |
Registers a conversion between formats.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryConvert |
Tries to convert the specified instance from one format to another, returning
success or failure.
|