ReadOnlyDictionary<TKey, TValue>.IDictionary.Add Method
Adds the specified key-value pair to this dictionary.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'宣言
Private Sub Add ( _
key As Object, _
value As Object _
) Implements IDictionary.Add
void IDictionary.Add(
Object key,
Object value
)
private:
virtual void Add(
Object^ key,
Object^ value
) sealed = IDictionary::Add
private abstract Add :
key:Object *
value:Object -> unit
private override Add :
key:Object *
value:Object -> unit
JScript does not support explicit interface implementations.
Parameters
- key
Type: System.Object
The key.
- value
Type: System.Object
The value.
Implements
IDictionary.Add(Object, Object)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.