Sdílet prostřednictvím


CompilationSection.TargetFramework Vlastnost

Definice

Získá nebo nastaví verzi rozhraní .NET Framework, na který web cílí.

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

Hodnota vlastnosti

Verze rozhraní .NET Framework, na kterou web cílí. Výchozí hodnota je null.

Atributy

Příklady

compilation – element (ASP.NET schéma nastavení)

Poznámky

Informace o tom, jak cílit na konkrétní verzi rozhraní .NET Framework, naleznete v tématu Cílení na více platforem rozhraní .NET Framework pro ASP.NET webové projekty.

Platí pro