ContentDispositionHeaderValue.SetHttpFileName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetHttpFileName(StringSegment) |
Sets both FileName and FileNameStar using encodings appropriate for HTTP headers. |
SetHttpFileName(String) |
Sets both FileName and FileNameStar using encodings appropriate for HTTP headers. |
SetHttpFileName(StringSegment)
Sets both FileName and FileNameStar using encodings appropriate for HTTP headers.
public:
void SetHttpFileName(Microsoft::Extensions::Primitives::StringSegment fileName);
public void SetHttpFileName (Microsoft.Extensions.Primitives.StringSegment fileName);
member this.SetHttpFileName : Microsoft.Extensions.Primitives.StringSegment -> unit
Public Sub SetHttpFileName (fileName As StringSegment)
Parameters
- fileName
- StringSegment
Applies to
SetHttpFileName(String)
Sets both FileName and FileNameStar using encodings appropriate for HTTP headers.
public:
void SetHttpFileName(System::String ^ fileName);
public void SetHttpFileName (string fileName);
member this.SetHttpFileName : string -> unit
Public Sub SetHttpFileName (fileName As String)
Parameters
- fileName
- String