Share via


KnowledgeBaseFile.Filename Property

Definition

The name of the file, if any.

In file bodies, this value comes from the filename parameter of the Content-Disposition header of the response or multipart payload. In JSON bodies, this value is serialized as a field in the response.

NOTE: By default, filename cannot be sent in request payloads and can only be sent in responses and multipart payloads, as the Content-Disposition header is not valid in requests. If you want to send the filename in a request, you must extend the File model and override the filename property with a different location defined by HTTP metadata decorators.

public string Filename { get; set; }
member this.Filename : string with get, set
Public Property Filename As String

Property Value

Applies to