Bewerken

Share via


SocketAsyncEventArgs.SendPacketsElements Property

Definition

Gets or sets an array of buffers to be sent for an asynchronous operation used by the SendPacketsAsync(SocketAsyncEventArgs) method.

public:
 property cli::array <System::Net::Sockets::SendPacketsElement ^> ^ SendPacketsElements { cli::array <System::Net::Sockets::SendPacketsElement ^> ^ get(); void set(cli::array <System::Net::Sockets::SendPacketsElement ^> ^ value); };
public System.Net.Sockets.SendPacketsElement[]? SendPacketsElements { get; set; }
public System.Net.Sockets.SendPacketsElement[] SendPacketsElements { get; set; }
member this.SendPacketsElements : System.Net.Sockets.SendPacketsElement[] with get, set
Public Property SendPacketsElements As SendPacketsElement()

Property Value

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

Remarks

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.

Applies to

See also