Windows.Web.Http.HttpMultipartFormDataContent

December 6, 2021 ยท View on GitHub

-description

Provides HTTP content that uses the multipart/form-data MIME type.

-remarks

Enumerating the collection in C# or Microsoft Visual Basic

You can iterate through an HttpMultipartFormDataContent object in C# or Microsoft Visual Basic. In many cases, such as using foreach syntax, the compiler does this casting for you and you won't need to cast to IEnumerable<IHttpContent> explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to [IEnumerable<T>](/dotnet/api/system.collections.generic.ienumerable-1?view=dotnet-uwp-10.0&preserve-view=true with an IHttpContent constraint.

-examples

-see-also

IClosable, IHttpContent, IIterable(IHttpContent), IStringable