SocketAsyncEventArgs::SendPacketsElements Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets an array of buffers to be sent for an asynchronous operation used by the Socket::SendPacketsAsync method.

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

property array<SendPacketsElement^>^ SendPacketsElements {
	array<SendPacketsElement^>^ get();
	void set(array<SendPacketsElement^>^ value);

Property Value

Type: array<System.Net.Sockets::SendPacketsElement^>^

An array of SendPacketsElement objects that represent an array of buffers to be sent.

The array of buffers can represent a file or files in memory or a set of memory data buffers. This property is used with the Socket::SendPacketsAsync method.

.NET Framework
Available since 2.0
Return to top