Interface IFileList
- Namespace
- AngleSharp.Io.Dom
- Assembly
- AngleSharp.dll
Represents a list of files. http://dev.w3.org/2006/webapi/FileAPI/#dfn-filelist
[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
intThe 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
Methods
Add(IFile)
Adds a file to the list.
void Add(IFile file)
Parameters
file
IFileThe 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
IFileThe file to remove.
Returns
- bool
True if the file was part of the list, otherwise false.