MultipartSection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A multipart section read by MultipartReader.
public ref class MultipartSection
public class MultipartSection
type MultipartSection = class
Public Class MultipartSection
- Inheritance
-
MultipartSection
Constructors
MultipartSection() |
Properties
BaseStreamOffset |
The position where the body starts in the total multipart body. This may not be available if the total multipart body is not seekable. |
Body |
Gets or sets the body. |
ContentDisposition |
Gets the value of the |
ContentType |
Gets the value of the |
Headers |
Gets or sets the multipart header collection. |
Extension Methods
AsFileSection(MultipartSection) |
Converts the section to a file section |
AsFormDataSection(MultipartSection) |
Converts the section to a form section |
GetContentDispositionHeader(MultipartSection) |
Retrieves and parses the content disposition header from a section |
ReadAsStringAsync(MultipartSection, CancellationToken) |
Reads the body of the section as a string |
ReadAsStringAsync(MultipartSection) |
Reads the body of the section as a string |