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.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru