CepObjectReadOnlyDictionary<T>.IDictionary<String, T>.Add Method
Adds a new object to a collection of metadata objects.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
Private Sub Add ( _
key As String, _
value As T _
) Implements IDictionary(Of String, T).Add
'Usage
Dim instance As CepObjectReadOnlyDictionary
Dim key As String
Dim value As T
CType(instance, IDictionary(Of String, T)).Add(key, _
value)
void IDictionary<string, T>.Add(
string key,
T value
)
private:
virtual void Add(
String^ key,
T value
) sealed = IDictionary<String^, T>::Add
private abstract Add :
key:string *
value:'T -> unit
private override Add :
key:string *
value:'T -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- key
Type: System.String
The key that identifies the object.
- value
Type: T
The object to add to the collection.
Implements
IDictionary<TKey, TValue>.Add(TKey, TValue)