Class ListCollection
Represents a ListCollection.
Inherited Members
Namespace: DRIT.Document.Lists
Assembly: DRIT.Document.dll
Syntax
public class ListCollection : IEnumerable<List>, IEnumerable
Properties
Count
Gets count.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets this[int].
Declaration
public List this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| List |
Methods
Add(List)
Adds a list definition to the collection.
Declaration
public void Add(List list)
Parameters
| Type | Name | Description |
|---|---|---|
| List | list | The list definition to add. |
Clear()
Removes all list definitions from the collection.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<List> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<List> | The resulting value. |
Remove(List)
Removes a list definition from the collection.
Declaration
public bool Remove(List list)
Parameters
| Type | Name | Description |
|---|---|---|
| List | list | The list definition to remove. |
Returns
| Type | Description |
|---|---|
| bool |
|