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
T
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.