Share via


VirtualTypeBuilder.EventInfoCollection.Item[Int32] Property

Definition

Gets or sets the event at the specified index.

public:
 property System::Reflection::EventInfo ^ default[int] { System::Reflection::EventInfo ^ get(int index); void set(int index, System::Reflection::EventInfo ^ value); };
public System.Reflection.EventInfo this[int index] { get; set; }
member this.Item(int) : System.Reflection.EventInfo with get, set
Default Public Property Item(index As Integer) As EventInfo

Parameters

index
Int32

The 0-based index of the element to get or set.

Property Value

An EventInfo at the specified index.

Exceptions

index is less than 0.-or- index is equal to or greater than Count.

Applies to