The Variable type exposes the following members.

Constructors

  NameDescription
VariableOverloaded.

Methods

  NameDescription
Copy
Copies this instance.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns the name of the variable, or an empty string if the name is null.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
Description
An optional description for the variable.
Index
The Index of this instance in the collection of variables belonging to a network, or -1 if the variable does not belong to a node and hence a network.
Name
Gets or sets the name of the variable.
Node
Gets the Node this instance belongs to, if any.
States
Returns the collection of states belonging to the variable.
ValueType
Gets the variable's value type, e.g. continuous or discrete.

See Also