ComponentListType Class
A list type: a sequence of values of an element type, of a fixed length or not.
public sealed class ComponentListType : ComponentValueType- Inheritance
ComponentValueTypeComponentListType
Constructors
| Name | Description |
|---|---|
| ComponentListType(ComponentValueType, int?) | Initializes a new instance of the ComponentListType class. |
ComponentListType(ComponentValueType, int?)
ComponentTypes.csInitializes a new instance of the ComponentListType class.
public ComponentListType(ComponentValueType elementType, int? fixedLength = null)Parameters
elementTypeComponentValueType- The type of the elements.
fixedLengthint?- The length of a fixed-length list, or null.
Properties
| Name | Description |
|---|---|
| ElementType | Gets the type of the elements. |
| FixedLength | Gets the length of a fixed-length list, or null. |
ElementType
ComponentTypes.csFixedLength
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.