Address Class |
public sealed class Address : ValueType, IEquatable<Address>, IComparable<Address>
The Address type exposes the following members.
| Name | Description | |
|---|---|---|
| Address(String) | Constructor with address as string. If no referencing modifiers ($) are defined, the address is of referencing type default (e.g. 'C23') | |
| Address(Int32, Int32) | Constructor with row and column as arguments. The referencing type of the address is default (e.g. 'C20') | |
| Address(String, CellAddressType) | Constructor with address as string. All referencing modifiers ($) are ignored and only the defined referencing type considered | |
| Address(Int32, Int32, CellAddressType) | Constructor with row and column as arguments. All referencing modifiers ($) are ignored and only the defined referencing type considered |
| Name | Description | |
|---|---|---|
| CompareTo | Compares two addresses using the column and row numbers | |
| Copy | Creates a (dereferenced, if applicable) deep copy of this address | |
| Equals(Address) | Compares two addresses whether they are equal | |
| Equals(Object) |
Compares two objects whether they are addresses and equal
(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) | |
| GetAddress | Returns the combined Address | |
| GetColumn | Gets the column address (A - XFD) | |
| GetHashCode |
Gets the hash code based on the string representation of the address
(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) | |
| ToString |
Overwritten ToString method
(Overrides ValueTypeToString) |
| Name | Description | |
|---|---|---|
| Equality(Address, Address) | Determines whether two Address instances are equal. | |
| Inequality(Address, Address) |
| Name | Description | |
|---|---|---|
| Column | Column number (zero based) | |
| Row | Row number (zero based) | |
| Type | Referencing type of the address |