Class ExcelThreadedCommentCollection
This class represents an enumerable of ExcelThreadedComments.
Implements
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 | 
|---|---|
| System.Int32 | 
Item[Int32]
Returns a ExcelThreadedComment by its index
Declaration
public ExcelThreadedComment this[int index] { get; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | Index in this collection  | 
      
Property Value
| Type | Description | 
|---|---|
| ExcelThreadedComment | The ExcelThreadedComment at the requested   | 
      
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentOutOfRangeException | If the   | 
      
Item[String]
Returns a ExcelThreadedComment by its id
Declaration
public ExcelThreadedComment this[string id] { get; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | id | Id of the requested ExcelThreadedComment  | 
      
Property Value
| Type | Description | 
|---|---|
| ExcelThreadedComment | The requested ExcelThreadedComment  | 
      
Exceptions
| Type | Condition | 
|---|---|
| System.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 | 
|---|---|
| System.Collections.Generic.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 | 
|---|---|
| System.String | A string that represents the current object.  | 
      
Overrides
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
  Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | An enumerator that can be used to iterate through the collection.  |