Uređivanje

Dijeli putem


FrameworkName.ToString Method

Definition

Returns the string representation of this FrameworkName object.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string that represents this FrameworkName object.

Remarks

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.

Applies to