[]
Represents a collection of all the IName objects in the workbook. Each Name object represents a defined name for a range of cells. Names can be either built-in names — such as Database, Print_Area, and Auto_Open — or custom names.
public interface INames
Public Interface INames
| Name | Description |
|---|---|
| Count | Returns the number of objects in the collection (read-only). |
| this[int] | Returns the IName object from a collection. |
| this[string] | Returns the IName object from a collection. |
| Name | Description |
|---|---|
| Add(string, string) | Defines a new name. Returns the IName object. |
| Clear() | Clears the IName collection. |
| Contains(string) | Determines whether name is contained in INames. |
| FromJson(string) | Generates a collection of defined name from the JSON string. |
| ToJson() | Generates the JSON string from the defined names. |