Compartir a través de


IVsComponentEnumeratorFactory4.GetReferencePathsForTargetFramework Method

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetReferencePathsForTargetFramework ( _
    TargetFrameworkMoniker As String, _
    <OutAttribute> ByRef ppEnumerator As IEnumComponents _
) As Integer
int GetReferencePathsForTargetFramework(
    string TargetFrameworkMoniker,
    out IEnumComponents ppEnumerator
)
int GetReferencePathsForTargetFramework(
    [InAttribute] String^ TargetFrameworkMoniker, 
    [OutAttribute] IEnumComponents^% ppEnumerator
)
abstract GetReferencePathsForTargetFramework : 
        TargetFrameworkMoniker:string * 
        ppEnumerator:IEnumComponents byref -> int
function GetReferencePathsForTargetFramework(
    TargetFrameworkMoniker : String, 
    ppEnumerator : IEnumComponents
) : int

Parameters

  • TargetFrameworkMoniker
    Type: String

    [in] String that identifies the target framework.

Return Value

Type: Int32
Returns S_OK if the enumerator was set.

.NET Framework Security

See Also

Reference

IVsComponentEnumeratorFactory4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace