IMultipartStreamProvider.GetStream Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When a MIME multipart body part has been parsed this method is called to get a stream for where to write the body part to.

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Stream GetStream(
	HttpContentHeaders headers


Type: System.Net.Http.Headers.HttpContentHeaders
Header fields describing the body part.

Return Value

Type: System.IO.Stream
The Stream instance where the message body part is written to.