Try our conversational search powered by Generative AI!

Class HtmlRewritePipe.SpecialElementType

Associate a string HTML element name with noteworthy attributes and the element type from the SpecialElementTypes enumeration

Inheritance
System.Object
HtmlRewritePipe.SpecialElementType
Implements
System.IComparable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
protected class SpecialElementType : IComparable

Constructors

SpecialElementType(String, HtmlRewriteElementType, String[])

Initializes a new instance of the HtmlRewritePipe.SpecialElementType class.

Declaration
public SpecialElementType(string name, HtmlRewriteElementType type, string[] attributes)
Parameters
Type Name Description
System.String name

The name.

HtmlRewriteElementType type

The type.

System.String[] attributes

The attributes.

SpecialElementType(String, HtmlRewritePipe.ElementTypes, String[])

Initializes a new instance of the HtmlRewritePipe.SpecialElementType class.

Declaration
[Obsolete("Use alternative constructor")]
public SpecialElementType(string name, HtmlRewritePipe.ElementTypes type, string[] attributes)
Parameters
Type Name Description
System.String name

The name.

HtmlRewritePipe.ElementTypes type

The type.

System.String[] attributes

The attributes.

Fields

Attributes

The name of an attribute that may contain an URL in the context of this element type, or an empty string

Declaration
public string[] Attributes
Field Value
Type Description
System.String[]

HtmlType

The EPiServer.Web.HtmlRewritePipe.SpecialElementTypes enumeration type associated with this Name

Declaration
public HtmlRewriteElementType HtmlType
Field Value
Type Description
HtmlRewriteElementType

Name

The HTML text name of a tag

Declaration
public string Name
Field Value
Type Description
System.String

Type

The EPiServer.Web.HtmlRewritePipe.SpecialElementTypes enumeration type associated with this Name

Declaration
[Obsolete("Use HtmlType instead")]
public HtmlRewritePipe.ElementTypes Type
Field Value
Type Description
HtmlRewritePipe.ElementTypes

Methods

CompareTo(Object)

Compares the current instance with another object of the same type.

Declaration
public int CompareTo(object obj)
Parameters
Type Name Description
System.Object obj

An object to compare with this instance.

Returns
Type Description
System.Int32

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance is less than obj. Zero This instance is equal to obj. Greater than zero This instance is greater than obj.

Exceptions
Type Condition
System.ArgumentException

obj is not the same type as this instance.

Implements

System.IComparable

Extension Methods