PeerNameRecordCollection::SetItem Method (Int32, PeerNameRecord^)
.NET Framework (current version)
Replaces the PeerNameRecord at the specified index.
Assembly: System.Net (in System.Net.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the element to replace.
- item
-
Type:
System.Net.PeerToPeer::PeerNameRecord^
The new value for the element to be replaced.
| Exception | Condition |
|---|---|
| ArgumentNullException | The item provided cannot be null. |
Null items are not allowed.
.NET Framework
Available since 3.5
Available since 3.5
Show: