Skip to content

Class ExcelThreadedCommentCollection

Namespace: OfficeOpenXml.ThreadedComments
Assembly: EPPlus.dll

This class represents an enumerable of ExcelThreadedComments.

public class ExcelThreadedCommentCollection : XmlHelper, IEnumerable<ExcelThreadedComment>, IEnumerable

Inheritance

object ← XmlHelper ← ExcelThreadedCommentCollection

Implements

IEnumerable
IEnumerable<ExcelThreadedComment>

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Count

Number of ExcelThreadedComments

public int Count { get; }

Property Value

int

Worksheet

A reference to the worksheet object

public ExcelWorksheet Worksheet { get; set; }

Property Value

ExcelWorksheet

this[int]

Returns a ExcelThreadedComment by its index

public ExcelThreadedComment this[int index] { get; }

Property Value

ExcelThreadedComment

Exceptions

ArgumentOutOfRangeException

If the index falls out of range

this[string]

Returns a ExcelThreadedComment by its id

public ExcelThreadedComment this[string id] { get; }

Property Value

ExcelThreadedComment

Exceptions

ArgumentException

If the requested id was not present.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<ExcelThreadedComment> GetEnumerator()

Returns

IEnumerator<ExcelThreadedComment>

An enumerator that can be used to iterate through the collection.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.