The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EventHandlerList::Item Property (Object^)
.NET Framework (current version)
Gets or sets the delegate for the specified object.
Assembly: System (in System.dll)
public: property Delegate^ default[ Object^ key ] { Delegate^ get(Object^ key); void set(Object^ key, Delegate^ value); }
Parameters
- key
-
Type:
System::Object^
An object to find in the list.
Property Value
Type: System::Delegate^The delegate for the specified key, or null if a delegate does not exist.
When the key is not found in the list and you provide a delegate to set the value of the key, then the key is added to the top of the list and assigned to the delegate as its value.
.NET Framework
Available since 1.1
Available since 1.1
Show: