共用方式為


ToolLocationHelper.GetPlatformExtensionSDKLocations Method

Definition

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

Overloads

GetPlatformExtensionSDKLocations(String, Version)

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

GetPlatformExtensionSDKLocations(String[], String, String, Version)

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

GetPlatformExtensionSDKLocations(String[], String[], String, String, Version)

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

GetPlatformExtensionSDKLocations(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 ^, System::String ^> ^ GetPlatformExtensionSDKLocations(System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static System.Collections.Generic.IDictionary<string,string> GetPlatformExtensionSDKLocations (string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformExtensionSDKLocations : string * Version -> System.Collections.Generic.IDictionary<string, string>
Public Shared Function GetPlatformExtensionSDKLocations (targetPlatformIdentifier As String, targetPlatformVersion As Version) As IDictionary(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 location. K:SDKName V:SDK installation location

Applies to

GetPlatformExtensionSDKLocations(String[], String, 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 ^, System::String ^> ^ GetPlatformExtensionSDKLocations(cli::array <System::String ^> ^ diskRoots, System::String ^ registryRoot, System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static System.Collections.Generic.IDictionary<string,string> GetPlatformExtensionSDKLocations (string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformExtensionSDKLocations : string[] * string * string * Version -> System.Collections.Generic.IDictionary<string, string>
Public Shared Function GetPlatformExtensionSDKLocations (diskRoots As String(), registryRoot As String, targetPlatformIdentifier As String, targetPlatformVersion As Version) As IDictionary(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 location. K:SDKName V:SDK installation location

Applies to

GetPlatformExtensionSDKLocations(String[], String[], String, 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 ^, System::String ^> ^ GetPlatformExtensionSDKLocations(cli::array <System::String ^> ^ diskRoots, cli::array <System::String ^> ^ extensionDiskRoots, System::String ^ registryRoot, System::String ^ targetPlatformIdentifier, Version ^ targetPlatformVersion);
public static System.Collections.Generic.IDictionary<string,string> GetPlatformExtensionSDKLocations (string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion);
static member GetPlatformExtensionSDKLocations : string[] * string[] * string * string * Version -> System.Collections.Generic.IDictionary<string, string>
Public Shared Function GetPlatformExtensionSDKLocations (diskRoots As String(), extensionDiskRoots As String(), registryRoot As String, targetPlatformIdentifier As String, targetPlatformVersion As Version) As IDictionary(Of String, String)

Parameters

diskRoots
String[]

Array of disk locations to search for sdks

extensionDiskRoots
String[]

New style extension SDK roots

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 location. K:SDKName V:SDK installation location

Applies to