CompilationSection.TargetFramework Propriété

Définition

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.

S’applique à