Partager via


IVsDesignTimeAssemblyResolution.GetTargetFramework(String) Method

Definition

Gets the target .NET Framework of the project instance.

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

Parameters

ppTargetFramework
String

[out] The target framework.

Returns

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

Applies to