Aracılığıyla paylaş


StaticFileOptions.DefaultContentType Özellik

Tanım

ContentTypeProvider bir isteği belirleyemiyorsa, istek için varsayılan içerik türü. Varsayılan olarak hiçbiri sağlanmadı, bu nedenle istemcinin biçimi kendisi belirlemesi gerekir. 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

Özellik Değeri

Şunlara uygulanır