Click or drag to resize

VariableCollection Class

Represents a collection of variables of input values.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCAD.CommandVariableCollection

Namespace:  RootPro.RootProCAD.Command
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class VariableCollection : IList, 
	ICollection, IEnumerable, IEnumerable<Variable>

The VariableCollection type exposes the following members.

Constructors
  NameDescription
Protected methodVariableCollection
Initializes a new instance of the VariableCollection class
Top
Properties
  NameDescription
Public propertyCount
Get the number of variables in the collection.
Public propertyItemChar
Gets or sets the variable value with the specified name in the collection.
Public propertyItemInt32
Gets or sets the variable at the specified index in the collection.
Top
Methods
  NameDescription
Public methodAdd
Add a new variable.
Public methodClear
Remove all variables from the collection.
Public methodContains
Retrieves whether a variable with the specified name is included in the collection.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Return an enumerator that iterates over the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index in the collection of variables with the specified name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAt
Delete the variable with the specified index.
Public methodRemoveByName
Delete the variable with the specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also