MultipartContent.Add(HttpContent) 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.