Click or drag to resize

FormatConverterT, TFormatType Methods

The FormatConverterT, TFormatType generic type exposes the following members.

Methods
  NameDescription
Public methodConvert
Converts the specified instance from one format to another.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetConversionCallback
Gets the callback that converts from one format to another.
Public methodGetConversionDistance
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterConversion(TFormatType, TFormatType, FormatConversionCallbackT, TFormatType)
Registers a conversion between formats.
Public methodRegisterConversion(TFormatType, TFormatType, FormatConversionCallbackT, TFormatType, TryFormatConversionCallbackT, TFormatType)
Registers a conversion between formats.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryConvert
Tries to convert the specified instance from one format to another, returning success or failure.
Top
See Also