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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.