MultipartFormDataStreamProvider.GetLocalFileName Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Protected Overridable Function GetLocalFileName ( _
headers As HttpContentHeaders _
) As String
protected virtual string GetLocalFileName(
HttpContentHeaders headers
)
protected:
virtual String^ GetLocalFileName(
HttpContentHeaders^ headers
)
abstract GetLocalFileName :
headers:HttpContentHeaders -> string
override GetLocalFileName :
headers:HttpContentHeaders -> string
protected function GetLocalFileName(
headers : HttpContentHeaders
) : String
Parameters
- headers
Type: System.Net.Http.Headers.HttpContentHeaders
The headers for the current MIME body part.
Return Value
Type: System.String
A relative filename with no path component.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.