Show / Hide Table of Contents

Class ExcelThreadedCommentCollection

This class represents an enumerable of ExcelThreadedComments.

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

Exceptions
Type Condition
System.ArgumentOutOfRangeException

If the index falls out of range

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 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
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
System.Object.ToString()

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.

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
In This Article
Back to top Generated by DocFX