Skip to content

M_Ekstrand_Collections_Generic_TwoKeyDictionary_3_Add_2

Fred Ekstrand edited this page Aug 4, 2020 · 2 revisions

TwoKeyDictionary(TKeyA, TKeyB, TValue).Add Method (TKeyA, TKeyB, TValue)

Adds the specified key and value to the dictionary.

Namespace: Ekstrand.Collections.Generic
Assembly: TwoKeyDictionary (in TwoKeyDictionary.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public void Add(
	TKeyA keyA,
	TKeyB keyB,
	TValue value
)

VB

Public Sub Add ( 
	keyA As TKeyA,
	keyB As TKeyB,
	value As TValue
)

C++

public:
virtual void Add(
	TKeyA keyA, 
	TKeyB keyB, 
	TValue value
) sealed

F#

abstract Add : 
        keyA : 'TKeyA * 
        keyB : 'TKeyB * 
        value : 'TValue -> unit 
override Add : 
        keyA : 'TKeyA * 
        keyB : 'TKeyB * 
        value : 'TValue -> unit 

Parameters

 

keyA
Type: TKeyA
The A-key of the element to add.
keyB
Type: TKeyB
The B-key of the element to add.
value
Type: TValue
The value of the element to add. The value can be null for reference types.

See Also

Reference

TwoKeyDictionary(TKeyA, TKeyB, TValue) Class
Add Overload
Ekstrand.Collections.Generic Namespace

Clone this wiki locally