ToolLocationHelper.GetPlatformSDKLocation Method

Definition

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

Overloads

GetPlatformSDKLocation(String, String, String, String)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

GetPlatformSDKLocation(String, Version, String[], String)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

GetPlatformSDKLocation(String, String)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

GetPlatformSDKLocation(String, Version)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

GetPlatformSDKLocation(String, String, String, String)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

public:
 static System::String ^ GetPlatformSDKLocation(System::String ^ targetPlatformIdentifier, System::String ^ targetPlatformVersion, System::String ^ diskRoots, System::String ^ registryRoot);
public static string GetPlatformSDKLocation (string targetPlatformIdentifier, string targetPlatformVersion, string diskRoots, string registryRoot);
static member GetPlatformSDKLocation : string * string * string * string -> string
Public Shared Function GetPlatformSDKLocation (targetPlatformIdentifier As String, targetPlatformVersion As String, diskRoots As String, registryRoot As String) As String

Parameters

targetPlatformIdentifier
String

Targeted platform for which to find SDK.

targetPlatformVersion
String

Targeted platform version for which to find SDK.

diskRoots
String

Array of disk roots within which to search for SDK.

registryRoot
String

Registry root within which to search for SDK.

Returns

The location of the SDK, or an empty string if the SDK could not be found.

GetPlatformSDKLocation(String, Version, String[], String)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

public:
 static System::String ^ GetPlatformSDKLocation(System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion, cli::array <System::String ^> ^ diskRoots, System::String ^ registryRoot);
public static string GetPlatformSDKLocation (string targetPlatformIdentifier, Version targetPlatformVersion, string[] diskRoots, string registryRoot);
static member GetPlatformSDKLocation : string * Version * string[] * string -> string
Public Shared Function GetPlatformSDKLocation (targetPlatformIdentifier As String, targetPlatformVersion As Version, diskRoots As String(), registryRoot As String) As String

Parameters

targetPlatformIdentifier
String

Targeted platform for which to find SDK.

targetPlatformVersion
Version

Targeted platform version for which to find SDK.

diskRoots
String[]

Array of disk roots within which to search for SDK.

registryRoot
String

Registry root within which to search for SDK.

Returns

The location of the SDK, or an empty string if the SDK could not be found.

GetPlatformSDKLocation(String, String)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

public:
 static System::String ^ GetPlatformSDKLocation(System::String ^ targetPlatformIdentifier, System::String ^ targetPlatformVersion);
public static string GetPlatformSDKLocation (string targetPlatformIdentifier, string targetPlatformVersion);
static member GetPlatformSDKLocation : string * string -> string
Public Shared Function GetPlatformSDKLocation (targetPlatformIdentifier As String, targetPlatformVersion As String) As String

Parameters

targetPlatformIdentifier
String

Targeted platform for which to find SDK.

targetPlatformVersion
String

Targeted platform version for which to find SDK.

Returns

The location of the SDK, or an empty string if the SDK could not be found.

GetPlatformSDKLocation(String, Version)

Given a target platform identifier and a target platform version, searches the default SDK locations for the platform SDK for that target platform.

public:
 static System::String ^ GetPlatformSDKLocation(System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static string GetPlatformSDKLocation (string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformSDKLocation : string * Version -> string
Public Shared Function GetPlatformSDKLocation (targetPlatformIdentifier As String, targetPlatformVersion As Version) As String

Parameters

targetPlatformIdentifier
String

Targeted platform for which to find SDK.

targetPlatformVersion
Version

Targeted platform version for which to find SDK.

Returns

The location of the SDK, or an empty string if the SDK could not be found.

Applies to