EventDescriptorCollection::IList::Item Property (Int32)
.NET Framework (current version)
Gets or sets the element at the specified index.
Assembly: System (in System.dll)
private: property Object^ default[ int index ] { virtual Object^ get(int index) sealed = IList::default::get; virtual void set(int index, Object^ value) sealed = IList::default::set; }
Parameters
- index
-
Type:
System::Int32
The zero-based index of the element to get or set.
Implements
IList::Item[Int32]| Exception | Condition |
|---|---|
| NotSupportedException | The collection is read-only. |
| IndexOutOfRangeException |
Note |
|---|
The HostProtectionAttribute attribute applied to this class has the following Resources property value: Synchronization. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
