IListContract<C>.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 element at the specified index.
public:
C GetItem(int index);
public C GetItem (int index);
abstract member GetItem : int -> 'C
Public Function GetItem (index As Integer) As C
Parameters
- index
- Int32
The zero-based index of the element to get.
Returns
C
The element at the specified index.
Exceptions
Remarks
The GetItem method does not remove the element at the specified index. To remove an element from the IListContract<C>, use the RemoveAt method.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.