SocketAddress.Item Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the specified index element in the underlying buffer.
Assembly: System.Net (in System.Net.dll)
Parameters
- offset
- Type: System.Int32
The array index element of the desired information.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | The specified index does not exist in the buffer (the offset is. less than 0 or greater than or equal to the Size property). |
This property gets or sets the specified byte position in the underlying buffer.
Note: |
|---|
Be sure to get the Size property before referring to elements in the underlying buffer. Referring to an index that does not exist will cause the SocketAddress to throw an IndexOutOfRangeException. |
Note: