IVsFrameworkMultiTargeting::GetTargetFramework Method (String^, String^, String^)
Visual Studio 2015
Retrieves the target framework moniker of the target framework.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int GetTargetFramework(
String^ pwszAssemblyPath,
String^ pwszTargetFrameworkIdentifier,
[OutAttribute] String^% pbstrTargetFrameworkMoniker
)
Parameters
- pwszAssemblyPath
-
Type:
System::String^
[in] The path to an assembly.
- pwszTargetFrameworkIdentifier
-
Type:
System::String^
[in] The identifier of the target framework.
- pbstrTargetFrameworkMoniker
-
Type:
System::String^
[out, retval] The moniker of the target framework.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: