Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlAttribute

OfficeIMO.Html.Dom

Namespace
OfficeIMO.Html.Dom
Assembly
OfficeIMO.Html.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

An immutable attribute, including its namespace and qualified name.

Inheritance

  • object
  • HtmlAttribute

Usage

Explore 2 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 1

Accepted by parameters 1

Constructors

public HtmlAttribute(string name, string value, string? namespaceUri = null) #

Creates an attribute without interpreting its value as markup or a URL.

Parameters

name string required
value string required
namespaceUri string? = null optional

Properties

public string Name { get; } #

Qualified attribute name.

public string LocalName { get; } #

Local name without the namespace prefix.

public string Prefix { get; } #

Namespace prefix, or an empty string.

public string NamespaceUri { get; } #

Namespace URI, or an empty string.

public string Value { get; } #

Decoded attribute value.