• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ListLevelCollection

Represents a ListLevelCollection.

Inheritance
object
ListLevelCollection
Implements
IEnumerable<ListLevel>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Lists
Assembly: DRIT.Document.dll
Syntax
public class ListLevelCollection : IEnumerable<ListLevel>, IEnumerable

Properties

Count

Gets count.

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Gets this[int].

Declaration
public ListLevel this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
ListLevel

Methods

Add(ListLevel)

Adds a list level to the collection.

Declaration
public void Add(ListLevel level)
Parameters
Type Name Description
ListLevel level

The list level to add.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<ListLevel> GetEnumerator()
Returns
Type Description
IEnumerator<ListLevel>

The resulting value.

GetOrAdd(int)

Gets an existing level or creates levels through the requested index.

Declaration
public ListLevel GetOrAdd(int index)
Parameters
Type Name Description
int index

The zero-based level index.

Returns
Type Description
ListLevel

The level at index.

RemoveAt(int)

Removes the level at the specified index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

The zero-based level index.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX