The DataFormatterBase type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
AsReadOnly |
Returns the given formatter if already read-only, otherwise a
read-only copy.
| |
CheckReadOnly |
Throws InvalidOperationException if the formatter is
read-only. Do this check before setting a property.
| |
Clone |
Returns a writable copy of this formatter.
| |
Equals |
Determines whether the specified Object is equal to the current Object.
(Overrides Object Equals(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.) | |
Format |
Override this method to convert an object to a string value.
| |
FormatInvalid |
Formats an invalid value. If error is not null,
the return value includes the "(error)" string, otherwise
EmptyString is returned.
| |
GetHashCode |
Gets a hash code for the current Object.
(Overrides Object GetHashCode .) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Parse |
Override this method to convert a string value to an object.
| |
TryParse |
Converts a string representation to an object. A return value indicates
whether the conversion succeeded or failed.
|
See Also