Class HtmlRewritePipe.SpecialElementType
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Associate a string HTML element name with noteworthy attributes and the element type from the SpecialElementTypes enumeration
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
protected class SpecialElementType : IComparable
Constructors
SpecialElementType(String, HtmlRewriteElementType, String[])
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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. |
Fields
Attributes
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The EPiServer.Web.Internal.HtmlRewritePipe.SpecialElementTypes enumeration type associated with this Name
Declaration
public HtmlRewriteElementType HtmlType
Field Value
Type | Description |
---|---|
HtmlRewriteElementType |
Name
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The HTML text name of a tag
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
Methods
CompareTo(Object)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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. |