Table of Contents

Class TopFolderCollection

Namespace
Dynamicweb.EmailMarketing
Assembly
Dynamicweb.EmailMarketing.dll

Represents the collection of top folders

public class TopFolderCollection : Collection<TopFolder>, IList<TopFolder>, ICollection<TopFolder>, IReadOnlyList<TopFolder>, IReadOnlyCollection<TopFolder>, IEnumerable<TopFolder>, IList, ICollection, IEnumerable
Inheritance
TopFolderCollection
Implements
Inherited Members
Extension Methods

Properties

Data

Gets the underlying data storage.

protected List<TopFolder> Data { get; }

Property Value

List<TopFolder>

Methods

Sort(IComparer<TopFolder>)

Sorts elements according to the given comparer.

public void Sort(IComparer<TopFolder> comparer)

Parameters

comparer IComparer<TopFolder>

Comparer.

Sort(Comparison<TopFolder>)

Sorts elements according to the given comparison.

public void Sort(Comparison<TopFolder> comparison)

Parameters

comparison Comparison<TopFolder>

Comparison.

SortByFolderName(string)

Sorts email folders by folder name (ascending).

public void SortByFolderName(string Direction = "DESC")

Parameters

Direction string
To top