KeyValuePair()
KeyValuePair::KeyValuePair() constructor
Null key-value pair initializer.
System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair()
KeyValuePair::KeyValuePair(const TKey&, const TValue&) constructor
Constructor.
System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const TKey &key, const TValue &value)
Arguments
Parameter | Type | Description |
---|---|---|
key | const TKey& | Key. |
value | const TValue& | Value. |
KeyValuePair::KeyValuePair(const std::pair<OtherK, OtherV>&) constructor
Type conversion constructor.
template<typename OtherK,typename OtherV> System::Collections::Generic::KeyValuePair<TKey, TValue>::KeyValuePair(const std::pair<OtherK, OtherV> &pair)
Template parameters
Parameter | Description |
---|---|
OtherK | Other key type. |
OtherV | Other value type. |
Arguments
Parameter | Type | Description |
---|---|---|
pair | const std::pair<OtherK, OtherV>& | Pair value. |
See Also
- Class KeyValuePair
- Namespace System::Collections::Generic
- Library Aspose.Slides