ComponentRecordType Class
A record type: named fields.
public sealed class ComponentRecordType : ComponentValueType- Inheritance
ComponentValueTypeComponentRecordType
Constructors
| Name | Description |
|---|---|
| ComponentRecordType(IEnumerable<ComponentField>) | Initializes a new instance of the ComponentRecordType class. |
ComponentRecordType(IEnumerable<ComponentField>)
ComponentTypes.csInitializes a new instance of the ComponentRecordType class.
public ComponentRecordType(IEnumerable<ComponentField> fields)Parameters
fieldsIEnumerable<ComponentField>- The fields, at least one.
Properties
| Name | Description |
|---|---|
| Fields | Gets the fields. |
Fields
ComponentTypes.csMethods
| Name | Description |
|---|---|
| Equals(ComponentValueType?) | Indicates whether the current object is equal to another object of the same type. |
| GetHashCode() | Serves as the default hash function. |
Equals(ComponentValueType?)
ComponentTypes.csIndicates whether the current object is equal to another object of the same type.
public override bool Equals(ComponentValueType? other)Parameters
otherComponentValueType?- An object to compare with this object.
Returns
bool true if the current object is equal to the other parameter; otherwise, false.