[]
Checks whether the collection contains a specific XLNamedRange object.
public bool Contains(XLNamedRange namedRange)
| Type | Name | Description |
|---|---|---|
| XLNamedRange | namedRange | The XLNamedRange object to look for. |
| Type | Description |
|---|---|
| bool | True if the collection contains the range, false otherwise. |
Checks whether the collection contains an XLNamedRange object with the specified name.
public bool Contains(string name)
| Type | Name | Description |
|---|---|---|
| string | name | The name of the XLNamedRange object to look for. |
| Type | Description |
|---|---|
| bool | True if the collection contains the range, false otherwise. |