FileList Class

https://w3c.github.io/FileAPI/#filelist-section

Implements

Properties

NameDescription
CountGets the number of files in the list.
LengthGets the number of files in the list.

Gets the number of files in the list.

public int Count { get; }

Property value

int

Gets the number of files in the list.

public uint Length { get; }

Indexers

NameDescription
this[int]Gets the file at the given index.

this[int]

FileList.cs

Gets the file at the given index.

public File this[int index] { get; }

Parameters

index int

Property value

File

Methods

NameDescription
GetEnumerator()Returns an enumerator that iterates through the collection.
Item(uint)Returns the file at the given index, or null when the index is out of range.
System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.FileApi.File>.get_Item(int)
System.Collections.IEnumerable.GetEnumerator()

GetEnumerator()

FileList.cs

Returns an enumerator that iterates through the collection.

public IEnumerator<File> GetEnumerator()

Returns

IEnumerator<File> An enumerator that can be used to iterate through the collection.

Item(uint)

FileList.cs

Returns the file at the given index, or null when the index is out of range.

public File? Item(uint index)

System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.FileApi.File>.get_Item(int)

File IReadOnlyList<File>.get_Item(int index)

Parameters

index int

Returns

File

No documentation is available.

System.Collections.IEnumerable.GetEnumerator()

FileList.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.