PeerEndPointCollection.InsertItem(Int32, PeerEndPoint) Method

Definition

Inserts a new PeerEndPoint element into the PeerEndPointCollection at the specified index or key.

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

Parameters

index
Int32

The zero-based index of the element to replace.

item
PeerEndPoint

The new value for the element at the specified index.

Exceptions

The item argument is null.

Remarks

Null value elements are not allowed.

Applies to

Product Versions
.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