StaticFileOptions.DefaultContentType 屬性

定義

ContentTypeProvider 無法決定時,要求的預設內容類型。 預設不提供,所以用戶端必須自行決定格式。 http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7

public:
 property System::String ^ DefaultContentType { System::String ^ get(); void set(System::String ^ value); };
public string DefaultContentType { get; set; }
public string? DefaultContentType { get; set; }
member this.DefaultContentType : string with get, set
Public Property DefaultContentType As String

屬性值

適用於