SpreadsheetAttachmentCollection

SpreadsheetAttachmentCollection class

Represents a collection of attachments in an Excel document.

public class SpreadsheetAttachmentCollection : RemoveOnlyListBase<SpreadsheetAttachment>

Properties

Name Description
virtual Count { get; } Gets the number of elements contained in the collection.
override IsReadOnly { get; } Gets a value indicating whether the collection is read-only.
virtual Item { get; } Gets the element at the specified index in the collection.

Methods

Name Description
AddAttachment(byte[], string, byte[], double, double, double, double) Adds an attachment to the SpreadsheetWorksheet.
AddLink(string, byte[], double, double, double, double) Adds an attachment by a link (the document will not contain attached file content).
Clear()
virtual Contains(SpreadsheetAttachment)
virtual GetEnumerator()
virtual IndexOf(SpreadsheetAttachment)
Remove(SpreadsheetAttachment)
RemoveAt(int)

Remarks

This collection contains the items of SpreadsheetAttachment type.

See Also