| VariableCollection Class | 
 Inheritance Hierarchy
Inheritance Hierarchy
 
Namespace: Spire.Doc
 Syntax
Syntax
 
The VariableCollection type exposes the following members.
 Constructors
Constructors
 
| Name | Description | |
|---|---|---|
|   | VariableCollection | 
 Initializes a new instance of the
 
VariableCollection
 
 class.
 | 
 Properties
Properties
 
| Name | Description | |
|---|---|---|
|   | Count | 
 Gets the count of variables.
 | 
|   | Item | 
 Gets or sets the variable with the specified name.
 | 
 Methods
Methods
 
| Name | Description | |
|---|---|---|
|   | Add | 
 Adds variable to document.
 | 
|   | Equals | 
 Determines whether the specified object is equal to the current object.
(Inherited from
 Object
.) | 
|   | Finalize | 
 Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
 Object
.) | 
|   | GetEnumerator | 
 Returns an enumerator that iterates through the collection.
 | 
|   | GetHashCode | 
 Serves as the default hash function.
(Inherited from
 Object
.) | 
|   | GetNameByIndex | 
 Gets variable's key by the index.
 | 
|   | GetType | 
 Gets the
 
Type
 
 of the current instance.
(Inherited from
 Object
.) | 
|   | GetValueByIndex | 
 Gets variable's value by the index.
 | 
|   | MemberwiseClone | 
 Creates a shallow copy of the current
 
Object
 
 .
(Inherited from
 Object
.) | 
|   | Remove | 
 Removes document variable with specified name from the document.
 | 
|   | ToString | 
 Returns a string that represents the current object.
(Inherited from
 Object
.) | 
 See Also
See Also