Offset Property

SocketAsyncEventArgs.Offset Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the offset, in bytes, into the data buffer referenced by the Buffer property.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)

public int Offset { get; }

Property Value

Type: System.Int32
The offset, in bytes, into the data buffer referenced by the Buffer property.

This property describes the starting byte offset of data in the Buffer property. This value is set by calling the SetBuffer method.

This property does not apply to the BufferList property.

This property is used with the Socket.ConnectAsync, Socket.ReceiveAsync, and Socket.SendAsync, methods.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft