Bewerken

Share via


MultipartContent.Add(HttpContent) Method

Definition

Add multipart HTTP content to a collection of HttpContent objects that get serialized using the multipart/* content type specification.

public:
 virtual void Add(System::Net::Http::HttpContent ^ content);
public virtual void Add (System.Net.Http.HttpContent content);
abstract member Add : System.Net.Http.HttpContent -> unit
override this.Add : System.Net.Http.HttpContent -> unit
Public Overridable Sub Add (content As HttpContent)

Parameters

content
HttpContent

The HTTP content to add to the collection.

Exceptions

The content was null.

Applies to