CompilationSection.TargetFramework Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit la version du .NET Framework cible par le site Web.
public:
property System::String ^ TargetFramework { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("targetFramework", DefaultValue=null)]
public string TargetFramework { get; set; }
[<System.Configuration.ConfigurationProperty("targetFramework", DefaultValue=null)>]
member this.TargetFramework : string with get, set
Public Property TargetFramework As String
Valeur de propriété
Version du .NET Framework cible par le site Web. La valeur par défaut est null.
- Attributs
Exemples
compilation, élément (schéma ASP.NET Settings)
Remarques
Pour plus d’informations sur la façon de cibler une version spécifique du framework .NET, consultez .NET Framework Multi-Targeting pour ASP.NET projets web.