PeerObjectCollection.SetItem Method
.NET Framework 3.5
Replaces the PeerObject element at the specified index.
Assembly: System.Net (in System.Net.dll)
Parameters
- index
- Type: System.Int32
The zero-based index in which the element resides.
- item
- Type: System.Net.PeerToPeer.Collaboration.PeerObject
The new value for the element in the specified index.
| Exception | Condition |
|---|---|
| ArgumentNullException | The item argument is null. |
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.