Freigeben über


StaticFileOptions.DefaultContentType Eigenschaft

Definition

Der Standardinhaltstyp für eine Anforderung, wenn der ContentTypeProvider keinen Inhaltstyp ermitteln kann. Standardmäßig wird kein Inhaltstyp bereitgestellt. Der Client muss das Format daher selbst ermitteln. 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

Eigenschaftswert

Gilt für: