ToolLocationHelper.GetLatestSDKTargetPlatformVersion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetLatestSDKTargetPlatformVersion(String, String) |
Given an SDK Identifier and SDK version, return the latest installed platform. |
GetLatestSDKTargetPlatformVersion(String, String, String[]) |
Given an SDK Identifier and SDK version, return the latest installed platform. |
GetLatestSDKTargetPlatformVersion(String, String)
- Source:
- ToolLocationHelper.cs
Given an SDK Identifier and SDK version, return the latest installed platform.
public:
static System::String ^ GetLatestSDKTargetPlatformVersion(System::String ^ sdkIdentifier, System::String ^ sdkVersion);
public static string GetLatestSDKTargetPlatformVersion (string sdkIdentifier, string sdkVersion);
static member GetLatestSDKTargetPlatformVersion : string * string -> string
Public Shared Function GetLatestSDKTargetPlatformVersion (sdkIdentifier As String, sdkVersion As String) As String
Parameters
- sdkIdentifier
- String
SDK for which to find the latest installed platform
- sdkVersion
- String
SDK version for which to find the latest installed platform
Returns
The latest installed version for the given SDK
Applies to
GetLatestSDKTargetPlatformVersion(String, String, String[])
- Source:
- ToolLocationHelper.cs
Given an SDK Identifier and SDK version, return the latest installed platform.
public:
static System::String ^ GetLatestSDKTargetPlatformVersion(System::String ^ sdkIdentifier, System::String ^ sdkVersion, cli::array <System::String ^> ^ sdkRoots);
public static string GetLatestSDKTargetPlatformVersion (string sdkIdentifier, string sdkVersion, string[] sdkRoots);
static member GetLatestSDKTargetPlatformVersion : string * string * string[] -> string
Public Shared Function GetLatestSDKTargetPlatformVersion (sdkIdentifier As String, sdkVersion As String, sdkRoots As String()) As String
Parameters
- sdkIdentifier
- String
SDK for which to find the latest installed platform
- sdkVersion
- String
SDK version for which to find the latest installed platform
- sdkRoots
- String[]
SDK Root folders
Returns
The latest installed version for the given SDK