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::ToString Method ()

.NET Framework (current version)
 

Returns the string representation of this FrameworkName object.

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

public:
virtual String^ ToString() override

Return Value

Type: System::String^

A string that represents this FrameworkName object.

The string returned by the ToString method has the following format:

identifier, Version=version[, Profile=profile]

where identifier corresponds to the Identifier property, version is equivalent to calling Version::ToString on the value of the Version property, and profile corresponds to the Profile property. If a profile has not been assigned to the FrameworkName object, the profile component is not included in the returned string.

The value returned by the ToString method is identical to the value of the FullName property.

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