Partilhar via


ToolLocationHelper.GetPlatformExtensionSDKLocationsAndVersions Method

Definition

Overloads

GetPlatformExtensionSDKLocationsAndVersions(String, Version)

Get a list of SDK's installed on the machine for a given target platform

GetPlatformExtensionSDKLocationsAndVersions(String[], String, String, Version)

Set of installed SDKs and their location and platform versions

GetPlatformExtensionSDKLocationsAndVersions(String[], String[], String, String, Version)

Set of installed SDKs and their location and platform versions

GetPlatformExtensionSDKLocationsAndVersions(String, Version)

Source:
ToolLocationHelper.cs

Get a list of SDK's installed on the machine for a given target platform

public:
 static System::Collections::Generic::IDictionary<System::String ^, Tuple<System::String ^, System::String ^> ^> ^ GetPlatformExtensionSDKLocationsAndVersions(System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static System.Collections.Generic.IDictionary<string,Tuple<string,string>> GetPlatformExtensionSDKLocationsAndVersions (string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformExtensionSDKLocationsAndVersions : string * Version -> System.Collections.Generic.IDictionary<string, string * string>
Public Shared Function GetPlatformExtensionSDKLocationsAndVersions (targetPlatformIdentifier As String, targetPlatformVersion As Version) As IDictionary(Of String, Tuple(Of String, String))

Parameters

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

Returns

IDictionary of installed SDKS and their tuples containing (location, platform version).

Applies to

GetPlatformExtensionSDKLocationsAndVersions(String[], String, String, Version)

Source:
ToolLocationHelper.cs

Set of installed SDKs and their location and platform versions

public:
 static System::Collections::Generic::IDictionary<System::String ^, Tuple<System::String ^, System::String ^> ^> ^ GetPlatformExtensionSDKLocationsAndVersions(cli::array <System::String ^> ^ diskRoots, System::String ^ registryRoot, System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static System.Collections.Generic.IDictionary<string,Tuple<string,string>> GetPlatformExtensionSDKLocationsAndVersions (string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformExtensionSDKLocationsAndVersions : string[] * string * string * Version -> System.Collections.Generic.IDictionary<string, string * string>
Public Shared Function GetPlatformExtensionSDKLocationsAndVersions (diskRoots As String(), registryRoot As String, targetPlatformIdentifier As String, targetPlatformVersion As Version) As IDictionary(Of String, Tuple(Of String, String))

Parameters

diskRoots
String[]

Array of disk locations to search for sdks

registryRoot
String

Root registry location to look for sdks

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

Returns

IDictionary of installed SDKS and their tuples containing (location, platform version).

Applies to

GetPlatformExtensionSDKLocationsAndVersions(String[], String[], String, String, Version)

Source:
ToolLocationHelper.cs

Set of installed SDKs and their location and platform versions

public:
 static System::Collections::Generic::IDictionary<System::String ^, Tuple<System::String ^, System::String ^> ^> ^ GetPlatformExtensionSDKLocationsAndVersions(cli::array <System::String ^> ^ diskRoots, cli::array <System::String ^> ^ multiPlatformDiskRoots, System::String ^ registryRoot, System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static System.Collections.Generic.IDictionary<string,Tuple<string,string>> GetPlatformExtensionSDKLocationsAndVersions (string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformExtensionSDKLocationsAndVersions : string[] * string[] * string * string * Version -> System.Collections.Generic.IDictionary<string, string * string>
Public Shared Function GetPlatformExtensionSDKLocationsAndVersions (diskRoots As String(), multiPlatformDiskRoots As String(), registryRoot As String, targetPlatformIdentifier As String, targetPlatformVersion As Version) As IDictionary(Of String, Tuple(Of String, String))

Parameters

diskRoots
String[]

Array of disk locations to search for sdks

multiPlatformDiskRoots
String[]

Array of disk locations to search for SDKs that target multiple versions

registryRoot
String

Root registry location to look for sdks

targetPlatformIdentifier
String

Targeted platform to find SDKs for

targetPlatformVersion
Version

Targeted platform version to find SDKs for

Returns

IDictionary of installed SDKS and their tuples containing (location, platform version). Version may be null if the SDK targets multiple versions.

Applies to