Partager via


IVsFrameworkMultiTargeting.GetDisplayNameForTargetFx(String, String) Method

Definition

Retrieves the display name of the specified target framework moniker.

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

Parameters

pwszTargetFrameworkMoniker
String

[in] The target framework moniker to use to get the display name.

pbstrDisplayName
String

[out, retval] The display name of the target framework.

Returns

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

Applies to