Show / Hide Table of Contents

Class ExcelThreadedCommentCollection

This class represents an enumerable of ExcelThreadedComments.

Inheritance
object
XmlHelper
ExcelThreadedCommentCollection
Implements
IEnumerable<ExcelThreadedComment>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 index

Exceptions
Type Condition
ArgumentOutOfRangeException

If the index falls out of range

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 id was not present.

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.

Overrides
object.ToString()

Implements

IEnumerable<T>
IEnumerable
In this article
Back to top Generated by DocFX