MultipartFormDataContent.Add Method (HttpContent, String, 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, _
fileName As String _
)
'Usage
Dim instance As MultipartFormDataContent
Dim content As HttpContent
Dim name As String
Dim fileName As String
instance.Add(content, name, fileName)
public void Add(
HttpContent content,
string name,
string fileName
)
public:
void Add(
HttpContent^ content,
String^ name,
String^ fileName
)
member Add :
content:HttpContent *
name:string *
fileName:string -> unit
public function Add(
content : HttpContent,
name : String,
fileName : String
)
Parameters
- content
Type: System.Net.Http.HttpContent
- name
Type: System.String
- fileName
Type: System.String