Condividi tramite


StaticFileOptions.DefaultContentType Proprietà

Definizione

Tipo di contenuto predefinito di una richiesta se ContentTypeProvider non può determinarne uno. Nessun contenuto è fornito per impostazione predefinita, perciò il client deve determinare il formato autonomamente. 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

Valore della proprietà

Si applica a