Show / Hide Table of Contents

Method SetItem

SetItem(Int32, T)

Replaces the element at the specified index.

Declaration
protected virtual void SetItem(int index, T item)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the element to replace.

T item

The new value for the element at the specified index. The value can be null for reference types if the collection allows it.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.13
.NET Framework100.0 - 100.8
.NET 5100.11
.NET Core 3.1100.7 - 100.8
Xamarin.Android100.0 - 100.13
Xamarin.iOS100.0 - 100.8
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.