Share via


IFormFile.CopyTo(Stream) Method

Definition

Copies the contents of the uploaded file to the target stream.

public:
 void CopyTo(System::IO::Stream ^ target);
public void CopyTo (System.IO.Stream target);
abstract member CopyTo : System.IO.Stream -> unit
Public Sub CopyTo (target As Stream)

Parameters

target
Stream

The stream to copy the file contents to.

Applies to