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.

FrameworkName Constructor (String^, Version^, String^)

.NET Framework (current version)
 

Initializes a new instance of the FrameworkName class from a string, a Version object that identifies a .NET Framework version, and a profile name.

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

public:
FrameworkName(
	String^ identifier,
	Version^ version,
	String^ profile
)

Parameters

identifier
Type: System::String^

A string that identifies a .NET Framework version.

version
Type: System::Version^

An object that contains .NET Framework version information.

profile
Type: System::String^

A profile name.

Exception Condition
ArgumentException

identifier is String::Empty.

ArgumentNullException

identifier is null.

-or-

version is null.

The FrameworkName class requires that a Version object include at least a major and minor version number.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft