Partilhar via


MvcCompatibilityOptions.CompatibilityVersion Propriedade

Definição

Obtém ou define o aplicativo configurado CompatibilityVersion.

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 da propriedade

o valor padrão será Version_3_0.

Aplica-se a