The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SocketAddress::Item Property (Int32)
.NET Framework (current version)
Gets or sets the specified index element in the underlying buffer.
Assembly: System (in System.dll)
public: property unsigned char default[ int offset ] { unsigned char get(int offset); void set(int offset, unsigned char value); }
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. |
This property gets or sets the specified byte position in the underlying buffer.
Note |
|---|
Be sure to call Size before referring to elements in the underlying buffer. Referring to an index that does not exist will cause the SocketAddress to throw an IndexOutOfRangeException. |
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Show:
