MultipartFormDataContent Class
Provides a container for content encoded using multipart/form-data MIME type.
Inheritance Hierarchy
System.Object
System.Net.Http.HttpContent
System.Net.Http.MultipartContent
System.Net.Http.MultipartFormDataContent
Namespace: System.Net.Http
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Class MultipartFormDataContent _
Inherits MultipartContent
'Usage
Dim instance As MultipartFormDataContent
public class MultipartFormDataContent : MultipartContent
public ref class MultipartFormDataContent : public MultipartContent
type MultipartFormDataContent =
class
inherit MultipartContent
end
public class MultipartFormDataContent extends MultipartContent
The MultipartFormDataContent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MultipartFormDataContent() | Initializes a new instance of the MultipartFormDataContent class. | |
MultipartFormDataContent(String) | Initializes a new instance of the MultipartFormDataContent class. |
Top
Properties
Name | Description | |
---|---|---|
Headers | Gets the HTTP content headers as defined in RFC 2616. (Inherited from HttpContent.) |
Top
Methods
Name | Description | |
---|---|---|
Add(HttpContent) | (Overrides MultipartContent.Add(HttpContent).) | |
Add(HttpContent, String) | ||
Add(HttpContent, String, String) | ||
CopyToAsync(Stream) | Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.) | |
CopyToAsync(Stream, TransportContext) | Write the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent.) | |
CreateContentReadStreamAsync | (Inherited from HttpContent.) | |
Dispose() | Releases the unmanaged resources and disposes of the managed resources used by the HttpContent. (Inherited from HttpContent.) | |
Dispose(Boolean) | (Inherited from MultipartContent.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | (Inherited from MultipartContent.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LoadIntoBufferAsync() | Serialize the HTTP content to a memory buffer as an asynchronous operation. (Inherited from HttpContent.) | |
LoadIntoBufferAsync(Int64) | (Inherited from HttpContent.) | |
MemberwiseClone | (Inherited from Object.) | |
ReadAsByteArrayAsync | (Inherited from HttpContent.) | |
ReadAsStreamAsync | (Inherited from HttpContent.) | |
ReadAsStringAsync | (Inherited from HttpContent.) | |
SerializeToStreamAsync | (Inherited from MultipartContent.) | |
ToString | (Inherited from Object.) | |
TryComputeLength | (Inherited from MultipartContent.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | (Inherited from MultipartContent.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.