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

  • localFileName
    Type: System.String

    The name of the local file for the multipart file data.

See Also

MultipartFileData Class
System.Net.Http Namespace

Return to top