Class StyleSheetList
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The StyleSheetList interface represents a list of CSSStyleSheet objects. An instance of this object can be returned by Document.StyleSheets.
[Value("StyleSheetList")]
public class StyleSheetList
- Inheritance
-
StyleSheetList
- Inherited Members
Remarks
It is an array-like object but can't be iterated over using Array methods. However it can be iterated over in a standard Statements/for loop over its indices, or converted to an Array.
NOTE
Typically list interfaces like
StyleSheetListwrap around Array types, so you can useArraymethods on them.
This is not the case here for historical reasons.
However, you can convertStyleSheetListto anArrayin order to use those methods (see the example below).
Constructors
StyleSheetList()
public StyleSheetList()
Properties
Length
The length read-only property of the StyleSheetList interface returns the number of CSSStyleSheet objects in the collection.
[Value("length")]
public ulong Length { get; }
Property Value
- ulong
An integer indicating the number of items in the collection.