Partager via


IVsComponentEnumeratorFactory4.GetReferencePathsForTargetFramework Method

Definition

Provides an enumerator for the reference paths to the specified target framework.

public:
 int GetReferencePathsForTargetFramework(System::String ^ TargetFrameworkMoniker, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents ^ % ppEnumerator);
public:
 int GetReferencePathsForTargetFramework(Platform::String ^ TargetFrameworkMoniker, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents ^ &  ppEnumerator);
int GetReferencePathsForTargetFramework(std::wstring const & TargetFrameworkMoniker, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents const & & ppEnumerator);
public int GetReferencePathsForTargetFramework (string TargetFrameworkMoniker, out Microsoft.VisualStudio.Shell.Interop.IEnumComponents ppEnumerator);
abstract member GetReferencePathsForTargetFramework : string * IEnumComponents -> int
Public Function GetReferencePathsForTargetFramework (TargetFrameworkMoniker As String, ByRef ppEnumerator As IEnumComponents) As Integer

Parameters

TargetFrameworkMoniker
String

[in] String that identifies the target framework.

ppEnumerator
IEnumComponents

[out] Pointer to an enumerator object that returns the list of reference paths.

Returns

Returns S_OK if the enumerator was set.

Applies to