共用方式為


ToolLocationHelper.HighestVersionOfTargetFrameworkIdentifier Method

Definition

This method will return the highest version of a target framework moniker based on the identifier. This method will only find full frameworks, this means no profiles will be returned.

public:
 static System::Runtime::Versioning::FrameworkName ^ HighestVersionOfTargetFrameworkIdentifier(System::String ^ targetFrameworkRootDirectory, System::String ^ frameworkIdentifier);
public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier (string targetFrameworkRootDirectory, string frameworkIdentifier);
static member HighestVersionOfTargetFrameworkIdentifier : string * string -> System.Runtime.Versioning.FrameworkName
Public Shared Function HighestVersionOfTargetFrameworkIdentifier (targetFrameworkRootDirectory As String, frameworkIdentifier As String) As FrameworkName

Parameters

targetFrameworkRootDirectory
String

Target framework root directory.

frameworkIdentifier
String

Framework identifier.

Returns

The highest version of a target framework moniker based on the identifier. This method will only find full frameworks; no profiles will be returned.

Applies to