IVsFrameworkMultiTargeting.GetDisplayNameForTargetFx(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.