Dela via


HttpMultipartContent.Add(IHttpContent) Method

Definition

Add HTTP content to the HttpMultipartContent instance.

public:
 virtual void Add(IHttpContent ^ content) = Add;
void Add(IHttpContent const& content);
public void Add(IHttpContent content);
function add(content)
Public Sub Add (content As IHttpContent)

Parameters

content
IHttpContent

The HTTP content to add to HttpMultipartContent.

Remarks

Below are the exceptions that this function throws.

E_INVALIDARG

The content parameter is null (Nothing in Visual Basic).

Applies to