Class ExcelThreadedCommentCollection
This class represents an enumerable of ExcelThreadedComments.
Inherited Members
Namespace: OfficeOpenXml.ThreadedComments
Assembly: EPPlus.dll
Syntax
public class ExcelThreadedCommentCollection : XmlHelper, IEnumerable<ExcelThreadedComment>, IEnumerable
Properties
Count
Number of ExcelThreadedComments
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Returns a ExcelThreadedComment by its index
Declaration
public ExcelThreadedComment this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Index in this collection |
Property Value
| Type | Description |
|---|---|
| ExcelThreadedComment | The ExcelThreadedComment at the requested |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | If the |
this[string]
Returns a ExcelThreadedComment by its id
Declaration
public ExcelThreadedComment this[string id] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Id of the requested ExcelThreadedComment |
Property Value
| Type | Description |
|---|---|
| ExcelThreadedComment | The requested ExcelThreadedComment |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | If the requested |
Worksheet
A reference to the worksheet object
Declaration
public ExcelWorksheet Worksheet { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelWorksheet |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<ExcelThreadedComment> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelThreadedComment> | An enumerator that can be used to iterate through the collection. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |