RadioNodeListOrElement Struct
The (RadioNodeList or Element) union returned by the named getters of forms.
public readonly struct RadioNodeListOrElement : IEquatable<RadioNodeListOrElement>- Implements
Properties
| Name | Description |
|---|---|
| Element | Gets the value as an Element, or null when the value is a node list. |
| RadioNodeList | Gets the value as a RadioNodeList, or null when the value is an element. |
| Value | Gets the value: a RadioNodeList or an Element. |
Element
HtmlFormElement.csRadioNodeList
HtmlFormElement.csGets the value as a RadioNodeList, or null when the value is an element.
public RadioNodeList? RadioNodeList { get; }Property value
Value
HtmlFormElement.csMethods
| Name | Description |
|---|---|
| Equals(RadioNodeListOrElement) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| FromElement(Element) | Creates the union from an Element. |
| FromRadioNodeList(RadioNodeList) | Creates the union from a RadioNodeList. |
| GetHashCode() | Returns the hash code for this instance. |
Equals overloads
Equals(RadioNodeListOrElement)
HtmlFormElement.csIndicates whether the current object is equal to another object of the same type.
public bool Equals(RadioNodeListOrElement other)Parameters
otherRadioNodeListOrElement- An object to compare with this object.
Returns
bool true if the current object is equal to the other parameter; otherwise, false.
Equals(object?)
HtmlFormElement.csFromElement(Element)
HtmlFormElement.csCreates the union from an Element.
public static RadioNodeListOrElement FromElement(Element value)FromRadioNodeList(RadioNodeList)
HtmlFormElement.csCreates the union from a RadioNodeList.
public static RadioNodeListOrElement FromRadioNodeList(RadioNodeList value)GetHashCode()
HtmlFormElement.csOperators
| Name | Description |
|---|---|
| operator ==(RadioNodeListOrElement, RadioNodeListOrElement) | Determines whether two unions are equal. |
| implicit operator RadioNodeListOrElement(Element) | Converts an Element to the union. |
| implicit operator RadioNodeListOrElement(RadioNodeList) | Converts a RadioNodeList to the union. |
| operator !=(RadioNodeListOrElement, RadioNodeListOrElement) | Determines whether two unions are different. |
operator ==(RadioNodeListOrElement, RadioNodeListOrElement)
HtmlFormElement.csDetermines whether two unions are equal.
public static bool operator ==(RadioNodeListOrElement left, RadioNodeListOrElement right)op_Implicit overloads
implicit operator RadioNodeListOrElement(Element)
HtmlFormElement.csConverts an Element to the union.
public static implicit operator RadioNodeListOrElement(Element value)implicit operator RadioNodeListOrElement(RadioNodeList)
HtmlFormElement.csConverts a RadioNodeList to the union.
public static implicit operator RadioNodeListOrElement(RadioNodeList value)operator !=(RadioNodeListOrElement, RadioNodeListOrElement)
HtmlFormElement.csDetermines whether two unions are different.
public static bool operator !=(RadioNodeListOrElement left, RadioNodeListOrElement right)