The BooleanFormatter type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
CheckReadOnly |
Throws InvalidOperationException if the formatter is
read-only. Do this check before setting a property.
(Inherited from DataFormatterBase.) | |
Clone |
Returns a writable copy of this formatter.
(Inherited from DataFormatterBase.) | |
Equals |
Determines whether the specified Object is equal to the current Object.
(Overrides DataFormatterBase 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 |
Converts an object to a string value; no actual conversion is
performed.
(Overrides DataFormatterBase Format(Object).) | |
FormatInvalid |
Formats an invalid value. If error is not null,
the return value includes the "(error)" string, otherwise
EmptyString is returned.
(Inherited from DataFormatterBase.) | |
GetHashCode |
Gets a hash code for the current Object.
(Overrides DataFormatterBase 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 |
Convert the string to a boolean repesentation.
(Overrides DataFormatterBase Parse(String).) | |
TryParse |
Converts a string representation to a Boolean value. A return value indicates
whether the conversion succeeded or failed.
(Overrides DataFormatterBase TryParse(String, Object ).) |
Properties
Name | Description | |
---|---|---|
CultureInfo |
Gets or sets a CultureInfo object that defines the
default formatting.
(Inherited from DataFormatterBase.) | |
EmptyString |
Gets or sets the string used to indicate empty values.
(FormatInvalid(String)).
(Inherited from DataFormatterBase.) | |
ExactParse | Gets or sets a value indicating whether
the format of the string representation must match the
specified format exactly or not. Default is false.
(Inherited from DataFormatterBase.) | |
IsLocalized |
Gets a value indicating whether this formatter is localized and always
uses CultureInfo derived from the current running thread or not.
(Inherited from DataFormatterBase.) | |
IsReadOnly | Gets a value indicating whether the formatter is read-only or not.
(Inherited from DataFormatterBase.) |
See Also