MultipartFileData Constructor (HttpContentHeaders, String)
Initializes a new instance of the MultipartFileData class.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public MultipartFileData(
HttpContentHeaders headers,
string localFileName
)
public:
MultipartFileData(
HttpContentHeaders^ headers,
String^ localFileName
)
new :
headers:HttpContentHeaders *
localFileName:string -> MultipartFileData
Public Sub New (
headers As HttpContentHeaders,
localFileName As String
)
Parameters
headers
Type: System.Net.Http.Headers.HttpContentHeadersThe headers of the multipart file data.
localFileName
Type: System.StringThe name of the local file for the multipart file data.
See Also
MultipartFileData Class
System.Net.Http Namespace
Return to top