RSX Code Reference
    Preparing search index...

    Class SerializableProperties

    Stores a serializable set of key-value pairs of various types.

    Index
    • Deletes a persistent property with the specified name.

      Parameters

      • name: string

        Name of the property to delete.

      Returns void

    • Sets a value from a property with the specified name.

      Type Parameters

      • T

      Parameters

      • name: string

        Name to record the property under.

      • OptionaldefaultValue: T

      Returns T

    • Retrieves a value of a boolean property.

      Parameters

      • name: string

        Name of the property to retrieve.

      • OptionaldefaultValue: boolean

        Default value to return if property cannot be found.

      Returns boolean

      Value of the property if it exists, otherwise the default value.

    • Checks does a persistent property with the specified name exists.

      Parameters

      • name: string

        Name of the property to check.

      Returns boolean

      True if the property exists, false otherwise.

    • Sets a value to a property with the specified name.

      Type Parameters

      • T

      Parameters

      • name: string

        Name to record the property under.

      • value: T

        Value of the property.

      Returns void

    • Sets a boolean value to a property with the specified name.

      Parameters

      • name: string

        Name to record the property under.

      • value: boolean

        Value of the property.

      Returns void