PeerNearMeCollection.InsertItem(Int32, PeerNearMe) Method

Definition

Inserts a new PeerNearMe element into the PeerNearMeCollection at the specified index or key.

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

Parameters

index
Int32

The zero-based index in which the element resides.

item
PeerNearMe

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