CepObjectReadOnlyDictionary<T>.IDictionary<String, T>.Item Property
Gets or sets the metadata objects by name.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
Private Property Item ( _
key As String _
) As T Implements IDictionary(Of String, T).Item
Get
Set
'Usage
Dim instance As CepObjectReadOnlyDictionary
Dim key As String
Dim value As T
value = CType(instance, IDictionary(Of String, T)).Item(key)
CType(instance, IDictionary(Of String, T)).Item(key) = value
T IDictionary<string, T>.this[
string key
] { get; set; }
private:
virtual property T Item[String^ key] {
T get (String^ key) sealed = IDictionary<String^, T>::Item::get;
void set (String^ key, T value) sealed = IDictionary<String^, T>::Item::set;
}
private abstract Item : 'T with get, set
private override Item : 'T with get, set
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- key
Type: System.String
The key of the object to retrieve.
Property Value
Type: T
The object with the specified key.
Implements
IDictionary<TKey, TValue>.Item[TKey]