다음을 통해 공유


ToolLocationHelper.GetPlatformsForSDK Method

Definition

Overloads

GetPlatformsForSDK(String, Version)

Given an SDK identifier and an SDK version, return a list of installed platforms.

GetPlatformsForSDK(String, Version, String[], String)

Given an SDK identifier and an SDK version, return a list of installed platforms.

GetPlatformsForSDK(String, Version)

Source:
ToolLocationHelper.cs

Given an SDK identifier and an SDK version, return a list of installed platforms.

public:
 static System::Collections::Generic::IEnumerable<System::String ^> ^ GetPlatformsForSDK(System::String ^ sdkIdentifier, Version ^ sdkVersion);
public static System.Collections.Generic.IEnumerable<string> GetPlatformsForSDK (string sdkIdentifier, Version sdkVersion);
static member GetPlatformsForSDK : string * Version -> seq<string>
Public Shared Function GetPlatformsForSDK (sdkIdentifier As String, sdkVersion As Version) As IEnumerable(Of String)

Parameters

sdkIdentifier
String

SDK for which to find the installed platforms

sdkVersion
Version

SDK version for which to find the installed platforms

Returns

A list of keys for the installed platforms for the given SDK

Applies to

GetPlatformsForSDK(String, Version, String[], String)

Source:
ToolLocationHelper.cs

Given an SDK identifier and an SDK version, return a list of installed platforms.

public:
 static System::Collections::Generic::IEnumerable<System::String ^> ^ GetPlatformsForSDK(System::String ^ sdkIdentifier, Version ^ sdkVersion, cli::array <System::String ^> ^ diskRoots, System::String ^ registryRoot);
public static System.Collections.Generic.IEnumerable<string> GetPlatformsForSDK (string sdkIdentifier, Version sdkVersion, string[] diskRoots, string registryRoot);
static member GetPlatformsForSDK : string * Version * string[] * string -> seq<string>
Public Shared Function GetPlatformsForSDK (sdkIdentifier As String, sdkVersion As Version, diskRoots As String(), registryRoot As String) As IEnumerable(Of String)

Parameters

sdkIdentifier
String

SDK for which to find the installed platforms

sdkVersion
Version

SDK version for which to find the installed platforms

diskRoots
String[]

List of disk roots to search for sdks within

registryRoot
String

Registry root to look for sdks within

Returns

A list of keys for the installed platforms for the given SDK

Applies to