次の方法で共有


ToolLocationHelper.FilterPlatformExtensionSDKs Method

Gets a dictionary containing a collection of extension SDKs, and filters it based on the target platform version. If the maximum platform version isn't set in the extension SDK manifest, add the extension SDK to the filtered list.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Shared Function FilterPlatformExtensionSDKs ( _
    targetPlatformVersion As Version, _
    extensionSdks As IDictionary(Of String, String) _
) As IDictionary(Of String, String)
public static IDictionary<string, string> FilterPlatformExtensionSDKs(
    Version targetPlatformVersion,
    IDictionary<string, string> extensionSdks
)
public:
static IDictionary<String^, String^>^ FilterPlatformExtensionSDKs(
    Version^ targetPlatformVersion, 
    IDictionary<String^, String^>^ extensionSdks
)
static member FilterPlatformExtensionSDKs : 
        targetPlatformVersion:Version * 
        extensionSdks:IDictionary<string, string> -> IDictionary<string, string> 
public static function FilterPlatformExtensionSDKs(
    targetPlatformVersion : Version, 
    extensionSdks : IDictionary<String, String>
) : IDictionary<String, String>

Parameters

  • targetPlatformVersion
    Type: System.Version

    The target platform version.

  • extensionSdks
    Type: IDictionary<String, String>

    A dictionary of available extension SDKs.

Return Value

Type: IDictionary<String, String>
A dictionary of extension SDKs filtered by the target platform version.

.NET Framework Security

See Also

Reference

ToolLocationHelper Class

Microsoft.Build.Utilities Namespace