IListContract<T>.GetItem(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the item at the specified index of an IListContract<T> collection.
public:
T GetItem(int index);
public T GetItem (int index);
abstract member GetItem : int -> 'T
Public Function GetItem (index As Integer) As T
Parameters
- index
- Int32
The zero-based index of the item to get.
Returns
The item at the specified index.
Exceptions
Remarks
The GetItem method does not remove the item at the specified index. To remove an item from the IListContract<T> collection, use the RemoveAt method.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor