Table of Contents

Interface IFileList

Namespace
AngleSharp.Io.Dom
Assembly
AngleSharp.dll
[DomName("FileList")]
public interface IFileList : IEnumerable<IFile>, IEnumerable
Inherited Members
Extension Methods

Properties

this[int]

Gets the file at the specified index.

[DomName("item")]
[DomAccessor(Accessors.Getter)]
IFile this[int index] { get; }

Parameters

index int

The index of the file.

Property Value

IFile

The file at the provided index.

Length

Gets the number of files in the list.

[DomName("length")]
int Length { get; }

Property Value

int

Methods

Add(IFile)

Adds a file to the list.

void Add(IFile file)

Parameters

file IFile

The file to add.

Clear()

Resets the list of file entries.

void Clear()

Remove(IFile)

Removes a file from the list.

bool Remove(IFile file)

Parameters

file IFile

The file to remove.

Returns

bool

True if the file was part of the list, otherwise false.