PeerObjectCollection.SetItem(Int32, PeerObject) Method

Definition

Replaces the PeerObject element at the specified index.

C#
protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerObject item);

Parameters

index
Int32

The zero-based index in which the element resides.

item
PeerObject

The new value for the element in the specified index.

Exceptions

The item argument is null.

Remarks

Null value elements are not allowed.

Applies to

Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also