Class ExcelNamedRange
A named range.
Inheritance
System.Object
ExcelNamedRange
Implements
System.Collections.Generic.IEnumerable<ExcelRangeBase>
System.Collections.IEnumerable
System.Collections.Generic.IEnumerator<ExcelRangeBase>
System.Collections.IEnumerator
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public sealed class ExcelNamedRange : ExcelRangeBase, IEnumerable<ExcelRangeBase>, IEnumerable, IEnumerator<ExcelRangeBase>, IEnumerator, IDisposable
Properties
IsNameHidden
Is the name hidden
Declaration
public bool IsNameHidden { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LocalSheetId
Is the named range local for the sheet
Declaration
public int LocalSheetId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Name of the range
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
NameComment
A comment for the Name
Declaration
public string NameComment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Object)
Returns true if the name is equal to the obj
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with |
Returns
Type | Description |
---|---|
System.Boolean | true if equal |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |
Overrides
ToString()
Returns a string representation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The name of the range |
Overrides
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable