Share via


MultipartFormDataContent.Add Method (HttpContent, String)

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Sub Add ( _
    content As HttpContent, _
    name As String _
)
'Usage
Dim instance As MultipartFormDataContent 
Dim content As HttpContent 
Dim name As String

instance.Add(content, name)
public void Add(
    HttpContent content,
    string name
)
public:
void Add(
    HttpContent^ content, 
    String^ name
)
member Add : 
        content:HttpContent * 
        name:string -> unit
public function Add(
    content : HttpContent, 
    name : String
)

Parameters

See Also

Reference

MultipartFormDataContent Class

Add Overload

System.Net.Http Namespace