編輯

共用方式為


AddressList.Index Property

Definition

Returns an Integer (int in C#) value indicating the position of the object within the collection. Read-only.

public:
 property int Index { int get(); };
public int Index { get; }
Public ReadOnly Property Index As Integer

Property Value

Remarks

The Index property is only valid during the current session and can change as objects are added to and deleted from the collection. The first object in the collection has an Index value of 1.

Applies to