Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlAttribute

Namespace OfficeIMO.Html.Dom
Assembly OfficeIMO.Html.Core
Modifiers sealed

An immutable attribute, including its namespace and qualified name.

Inheritance

  • Object
  • HtmlAttribute

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public HtmlAttribute(String name, String value, String namespaceUri = null) #

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

Parameters

name System.String requiredposition: 0
value System.String requiredposition: 1
namespaceUri System.String = null optionalposition: 2

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.