AppContext.TargetFrameworkName Vlastnost

Definice

Získá název verze architektury, na kterou cílí aktuální aplikace.

public:
 static property System::String ^ TargetFrameworkName { System::String ^ get(); };
public static string? TargetFrameworkName { get; }
public static string TargetFrameworkName { get; }
member this.TargetFrameworkName : string
Public Shared ReadOnly Property TargetFrameworkName As String

Hodnota vlastnosti

String

Název verze architektury, na kterou cílí aktuální aplikace.

Poznámky

Název cílové verze architektury odpovídá hodnotě TargetFrameworkAttribute.FrameworkName vlastnosti. Seznam názvů cílových architektur pro .NET Framework najdete v podporovaném elementu <ElementRuntime>.

Platí pro

Viz také