Class HtmlRewritePipe.SpecialElementType
Associate a string HTML element name with noteworthy attributes and the element type from the SpecialElementTypes enumeration
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 8.11.0Syntax
protected class SpecialElementType : IComparable
Constructors
SpecialElementType(String, HtmlRewritePipe.ElementTypes, String[])
Initializes a new instance of the HtmlRewritePipe.SpecialElementType class.
Declaration
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[] |
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
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. |