Action
    Preparing search index...

    2.0

    Hierarchy (View Summary)

    Implements

    Index

    Methods

    • Determines whether the specified object is equal to the current object.

      Parameters

      • obj: any

        The object to compare with the current object.

      Returns boolean

      true if the specified object is equal to the current object; otherwise, false.

    • Serves as the default hash function.

      Returns number

      A hash code for the current object.

    • Returns a string that represents the current object.

      Returns string

      A string that represents the current object.

    • Determines whether the specified object instances are considered equal.

      Parameters

      • objA: any

        The first object to compare.

      • objB: any

        The second object to compare.

      Returns boolean

      true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

    Default capability

    • get CultureName(): null | string

      Gets or sets the name of the culture that defines the default formatting.

      Returns null | string

      If a specific culture is set, this will always be used, regardless of locale. Assigning this property to null (which is the default) means that the formatter will always be localized. Assigning this property to string.Empty means invariant formatting.

      2.0

    • set CultureName(value: null | string): void

      Parameters

      • value: null | string

      Returns void

    • get EmptyString(): null | string

      Gets or sets the string used to indicate empty values. (FormatInvalid(error)).

      Returns null | string

      2.0

    • set EmptyString(value: null | string): void

      Parameters

      • value: null | string

      Returns void

    • get ExactParse(): boolean

      Gets or sets a value indicating whether the format of the string representation must match the specified format exactly or not. Default is false.

      Returns boolean

      2.0

    • set ExactParse(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get IsLocalized(): boolean

      Gets a value indicating whether this formatter is localized and always uses CultureInfo derived from the current running thread or not.

      Returns boolean

      2.0

    • get IsReadOnly(): boolean

      Gets a value indicating whether the formatter is read-only or not.

      Returns boolean

      2.0

    • Returns a writable copy of this formatter.

      Returns unknown

      A new formatter copied from the original formatter

      The clone is writable even if the original formatter is read-only

      2.0

    • Override this method to convert an object to a string value.

      Parameters

      • obj: any

        An object to convert.

      Returns string

      A string value

      2.0

    • Override this method to convert a string value to an object.

      Parameters

      • str: string | String

        A string value to convert.

      Returns unknown

      An object.

      2.0