Table of Contents

Class ExcelThreadedCommentCollection

Namespace
OfficeOpenXml.ThreadedComments
Assembly
EPPlus.dll

This class represents an enumerable of ExcelThreadedComments.

public class ExcelThreadedCommentCollection : XmlHelper, IEnumerable<ExcelThreadedComment>, IEnumerable
Inheritance
ExcelThreadedCommentCollection
Implements
Inherited Members

Properties

Count

public int Count { get; }

Property Value

int

this[int]

Returns a ExcelThreadedComment by its index

public ExcelThreadedComment this[int index] { get; }

Parameters

index int

Index in this collection

Property Value

ExcelThreadedComment

The ExcelThreadedComment at the requested index

Exceptions

ArgumentOutOfRangeException

If the index falls out of range

this[string]

Returns a ExcelThreadedComment by its id

public ExcelThreadedComment this[string id] { get; }

Parameters

id string

Id of the requested ExcelThreadedComment

Property Value

ExcelThreadedComment

The requested ExcelThreadedComment

Exceptions

ArgumentException

If the requested id was not present.

Worksheet

A reference to the worksheet object

public ExcelWorksheet Worksheet { get; set; }

Property Value

ExcelWorksheet

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.