StyleSheetList Class
https://drafts.csswg.org/cssom/#the-stylesheetlist-interface
public sealed class StyleSheetList : IEnumerable<CssStyleSheet>, IReadOnlyCollection<CssStyleSheet>, IReadOnlyList<CssStyleSheet>, IEnumerable- Implements
Properties
| Name | Description |
|---|---|
| Count | Gets the number of style sheets in the list. |
| Length | Gets the number of style sheets in the list. |
Count
CssStyleSheet.csLength
CssStyleSheet.csGets the number of style sheets in the list.
public uint Length { get; }Indexers
| Name | Description |
|---|---|
| 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
this[int]
CssStyleSheet.csGets the style sheet at the given index.
public CssStyleSheet this[int index] { get; }this[uint]
CssStyleSheet.csGets the style sheet at the given index, or null when the index is out of range.
public CssStyleSheet? this[uint index] { get; }Methods
| Name | Description |
|---|---|
| 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.csReturns an enumerator that iterates through the style sheets of the list.
public IEnumerator<CssStyleSheet> GetEnumerator()Returns
Item(uint)
CssStyleSheet.csReturns 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)
CssStyleSheet IReadOnlyList<CssStyleSheet>.get_Item(int index)No documentation is available.