Compartir a través de


MvcCompatibilityOptions.CompatibilityVersion Propiedad

Definición

Obtiene o establece el objeto configurado CompatibilityVersionde la aplicación.

public:
 property Microsoft::AspNetCore::Mvc::CompatibilityVersion CompatibilityVersion { Microsoft::AspNetCore::Mvc::CompatibilityVersion get(); void set(Microsoft::AspNetCore::Mvc::CompatibilityVersion value); };
public Microsoft.AspNetCore.Mvc.CompatibilityVersion CompatibilityVersion { get; set; }
member this.CompatibilityVersion : Microsoft.AspNetCore.Mvc.CompatibilityVersion with get, set
Public Property CompatibilityVersion As CompatibilityVersion

Valor de propiedad

el valor predeterminado es Version_3_0.

Se aplica a