Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlUnsupportedCssException

OfficeIMO.Word.Html

Namespace
OfficeIMO.Word.Html
Assembly
OfficeIMO.Word.Html
Source revision
ba882f6b0d07 with working tree changes
Base
InvalidOperationException
Implements
ISerializable
Modifiers
sealed

Thrown when unsupported CSS is encountered while strict CSS handling is enabled.

Inheritance

  • InvalidOperationException
  • HtmlUnsupportedCssException

Constructors

public HtmlUnsupportedCssException(string code, string message, string source, string? detail = null) #

Creates an unsupported CSS exception.

Parameters

code string required
Stable diagnostic code associated with the unsupported CSS declaration.
message string required
Human-readable message.
source string required
HTML element and CSS property associated with the unsupported declaration.
detail string? = null optional
Optional unsupported value detail.

Properties

public string Code { get; } #

Stable diagnostic code associated with the unsupported CSS declaration.

public string CssSource { get; } #

HTML element and CSS property associated with the unsupported declaration.

public string? Detail { get; } #

Optional unsupported value detail.