Range Class |
public sealed class Range : ValueType
The Range type exposes the following members.
| Name | Description | |
|---|---|---|
| Range(String) | Constructor with a range string as argument. The addresses are automatically swapped if the start address is greater than the end address | |
| Range(Address, Address) | Constructor with addresses as arguments. The addresses are automatically swapped if the start address is greater than the end address |
| Name | Description | |
|---|---|---|
| Copy | Creates a (dereferenced, if applicable) deep copy of this range | |
| Equals |
Compares two objects whether they are ranges and equal. The cell types (possible $ prefix) are considered
(Overrides ValueTypeEquals(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) | |
| GetHashCode |
Gets the hash code of the range object according to its string representation
(Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ResolveEnclosedAddresses | Gets a list of all addresses between the start and end address | |
| ToString |
Overwritten ToString method
(Overrides ValueTypeToString) |
| Name | Description | |
|---|---|---|
| Equality(Range, Range) | Determines whether two Range instances are equal. | |
| Inequality(Range, Range) | Determines whether two Range instances are not equal. |
| Name | Description | |
|---|---|---|
| EndAddress | End address of the range | |
| StartAddress | Start address of the range |