StyleSheetList Class

https://drafts.csswg.org/cssom/#the-stylesheetlist-interface

Implements

Properties

NameDescription
CountGets the number of style sheets in the list.
LengthGets the number of style sheets in the list.

Gets the number of style sheets in the list.

public int Count { get; }

Property value

int

Gets the number of style sheets in the list.

public uint Length { get; }

Indexers

NameDescription
this[int]Gets the style sheet at the given index.
this[uint]Gets the style sheet at the given index, or null when the index is out of range.

ItemAt overloads

Gets the style sheet at the given index.

public CssStyleSheet this[int index] { get; }
Parameters
index int
Property value

CssStyleSheet

Gets the style sheet at the given index, or null when the index is out of range.

public CssStyleSheet? this[uint index] { get; }

Methods

NameDescription
GetEnumerator()Returns an enumerator that iterates through the style sheets of the list.
Item(uint)Returns the style sheet at the given index, or null when the index is out of range.
System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Css.Om.CssStyleSheet>.get_Item(int)
System.Collections.IEnumerable.GetEnumerator()

GetEnumerator()

CssStyleSheet.cs

Returns an enumerator that iterates through the style sheets of the list.

public IEnumerator<CssStyleSheet> GetEnumerator()

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

public CssStyleSheet? Item(uint index)

System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Css.Om.CssStyleSheet>.get_Item(int)

Parameters

index int

Returns

CssStyleSheet

No documentation is available.

System.Collections.IEnumerable.GetEnumerator()

CssStyleSheet.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.