ComponentMapType Class
A map type: entries of a key and a value.
public sealed class ComponentMapType : ComponentValueType- Inheritance
ComponentValueTypeComponentMapType
Constructors
| Name | Description |
|---|---|
| ComponentMapType(ComponentValueType, ComponentValueType) | Initializes a new instance of the ComponentMapType class. |
ComponentMapType(ComponentValueType, ComponentValueType)
ComponentTypes.csInitializes a new instance of the ComponentMapType class.
public ComponentMapType(ComponentValueType keyType, ComponentValueType valueType)Parameters
keyTypeComponentValueType- The type of the keys.
valueTypeComponentValueType- The type of the values.
Properties
| Name | Description |
|---|---|
| KeyType | Gets the type of the keys. |
| ValueType | Gets the type of the values. |
KeyType
ComponentTypes.csValueType
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.