Dela via


ContentDispositionHeaderValue.SetHttpFileName Method

Definition

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)

Source:
ContentDispositionHeaderValue.cs
Source:
ContentDispositionHeaderValue.cs
Source:
ContentDispositionHeaderValue.cs

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

Applies to