Variable

Implements a variable holder object.

Inherits: IVariable

Description

The Variable class allows you to implement a variable holder object.

Constructors

public Variable(string name, Variant value = null)

  • name: string - name of this variable.
  • value: Variant - value of this variable.

Properties

Name

Name of the variable

public string Name { get; }

  • returns: string - variable name.

Value

Gets and sets the variable’s value.

public Variant Value { get; set; }