Struct
HtmlSrcSetCandidate
OfficeIMO.Html
Represents one candidate in an HTML srcset attribute.
Inheritance
- ValueType
- HtmlSrcSetCandidate
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
Constructors
public HtmlSrcSetCandidate(string url, string descriptor) #Creates a source-set candidate.
Parameters
- url string
- descriptor string
Inherited Methods
Properties
public string Url { get; } #Candidate URL before caller-specific resolution.
public string Descriptor { get; } #Candidate descriptor, such as 2x or 640w.
public int UrlStart { get; } #Zero-based offset of HtmlSrcSetCandidate.Url in the parsed source-set value, or -1 when the candidate was constructed directly.