StaticFileOptions.DefaultContentType プロパティ

定義

要求のコンテンツ タイプを ContentTypeProvider が判別できなかった場合に使用される既定のコンテンツ タイプ。 既定では None が指定されるため、クライアントが独自に形式を判断する必要があります。 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

プロパティ値

適用対象