HttpMultipartContent.Add(IHttpContent) Method
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.
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).