Condividi tramite


AppContext.TargetFrameworkName Proprietà

Definizione

Ottiene il nome della versione del framework di destinazione dell'applicazione corrente.

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

Valore della proprietà

Nome della versione del framework di destinazione dell'applicazione corrente.

Commenti

Il nome della versione del framework di destinazione corrisponde al valore della TargetFrameworkAttribute.FrameworkName proprietà . Per un elenco dei nomi dei framework di destinazione per .NET Framework, vedere l'elemento <supportedRuntime> Element .

Si applica a

Vedi anche