Udostępnij za pośrednictwem


RequiresFramework35SP1Assembly.TargetFrameworkVersion Property

Definition

Gets or sets the version of the .NET Framework that this application targets.

public:
 property System::String ^ TargetFrameworkVersion { System::String ^ get(); void set(System::String ^ value); };
public string TargetFrameworkVersion { get; set; }
public string TargetFrameworkVersion { get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.TargetFrameworkVersion : string with get, set
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.TargetFrameworkVersion : string with get, set
Public Property TargetFrameworkVersion As String

Property Value

The name of .NET Framework version.

Attributes

Applies to