Skip to main content

FormatInfo Methods

Provides formatting settings.
Name Description
Assign(FormatInfo) Copies properties of the specified FormatInfo object to the current object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDisplayText(Object) Gets the value formatted according to the format pattern and using the format provider settings.
GetFormatString() Returns the actual format string.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsEquals(FormatInfo) Compares properties of the current object with settings of the specified FormatInfo object.
LockParse() The method supports the internal .NET infrastructure and you must not call it from your code.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnEndDeserializing(String) This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
OnEndSerializing() This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
OnStartDeserializing(LayoutAllowEventArgs) This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
OnStartSerializing() This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Parse() Performs actions when the FormatInfo.FormatType property changes.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Reverts properties of the current object to default values.
ResetCache() static
ShouldSerialize() Tests whether the FormatInfo object should be persisted.
ToString() Returns a string that represents the current object.
UnlockParse() The method supports the internal .NET infrastructure and you must not call it from your code.
See Also