VirtualTypeBuilder::EventInfoCollection::Item Property (Int32)

 

Gets or sets the event at the specified index.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
property EventInfo^ default[
	int index
] {
	EventInfo^ get(int index);
	void set(int index, EventInfo^ value);
}

Parameters

index
Type: System::Int32

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

Property Value

Type: System.Reflection::EventInfo^

An EventInfo at the specified index.

Exception Condition
ArgumentException

index is less than 0.

-or-

index is equal to or greater than Count.

Return to top
Show: