Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TargetFrameworkAttribute Constructor (String^)

 

Initializes an instance of the TargetFrameworkAttribute class by specifying the .NET Framework version against which an assembly was built.

Namespace:   System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

public:
TargetFrameworkAttribute(
	String^ frameworkName
)

Parameters

frameworkName
Type: System::String^

The version of the .NET Framework against which the assembly was built.

Exception Condition
ArgumentNullException

frameworkName is null.

The string that is assigned to the frameworkName parameter generally takes the same form as the string that is returned by the FrameworkName::ToString method.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft