Partager via


IVsTargetFrameworkAssemblies.GetSupportedFrameworks Method

Definition

Gets an enumeration of supported framework versions.

public:
 int GetSupportedFrameworks([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumTargetFrameworks ^ % pTargetFrameworks);
public:
 int GetSupportedFrameworks([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumTargetFrameworks ^ &  pTargetFrameworks);
int GetSupportedFrameworks([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumTargetFrameworks const & & pTargetFrameworks);
public int GetSupportedFrameworks (out Microsoft.VisualStudio.Shell.Interop.IEnumTargetFrameworks pTargetFrameworks);
abstract member GetSupportedFrameworks : IEnumTargetFrameworks -> int
Public Function GetSupportedFrameworks (ByRef pTargetFrameworks As IEnumTargetFrameworks) As Integer

Parameters

pTargetFrameworks
IEnumTargetFrameworks

[out] A IEnumTargetFrameworks value specifying the supported framework version.

Returns

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

Remarks

COM Signature

From compsvcspkg90.idl:

HRESULT GetSupportedFrameworks(  
    [out] IEnumTargetFrameworks **pTargetFrameworks)  
;  

Applies to