共用方式為


IVsFrameworkMultiTargeting.GetInstallableFrameworkForTargetFx Method

Definition

Retrieves the installable framework for the specified target framework moniker.

public:
 int GetInstallableFrameworkForTargetFx(System::String ^ pwszTargetFrameworkMoniker, [Runtime::InteropServices::Out] System::String ^ % pbstrInstallableFrameworkMoniker);
int GetInstallableFrameworkForTargetFx(std::wstring const & pwszTargetFrameworkMoniker, [Runtime::InteropServices::Out] std::wstring const & & pbstrInstallableFrameworkMoniker);
public int GetInstallableFrameworkForTargetFx (string pwszTargetFrameworkMoniker, out string pbstrInstallableFrameworkMoniker);
abstract member GetInstallableFrameworkForTargetFx : string * string -> int
Public Function GetInstallableFrameworkForTargetFx (pwszTargetFrameworkMoniker As String, ByRef pbstrInstallableFrameworkMoniker As String) As Integer

Parameters

pwszTargetFrameworkMoniker
String

[in] The framework moniker to use to get the installable framework.

pbstrInstallableFrameworkMoniker
String

[out, retval] The moniker of the installable framework.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to