共用方式為


VirtualTypeBuilder.MethodInfoCollection.Item[Int32] Property

Definition

Gets or sets the method at the specified index.

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

Parameters

index
Int32

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

Property Value

A MethodInfo at the specified index.

Exceptions

index is less than 0.-or- index is equal to or greater than the number of items in the collection.

Applies to