編輯

共用方式為


CodeTypeReferenceCollection.Item[Int32] Property

Definition

Gets or sets the CodeTypeReference at the specified index in the collection.

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

Parameters

index
Int32

The index of the collection to access.

Property Value

A CodeTypeReference at each valid index.

Exceptions

The index parameter is outside the valid range of indexes for the collection.

Remarks

This method is an indexer that can be used to access the collection.

Applies to