Freigeben über


SharedProjectUtilities.EnumImportingProjects(IVsHierarchy) Method

Definition

Enumerates all the projects that are importing shared assets owned by the given Shared Project hierarchy.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^> ^ EnumImportingProjects(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Shell.SharedProjectUtilities+<EnumImportingProjects>d__5))]
public static System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Shell.Interop.IVsHierarchy> EnumImportingProjects (this Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Shell.SharedProjectUtilities+<EnumImportingProjects>d__5))>]
static member EnumImportingProjects : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> seq<Microsoft.VisualStudio.Shell.Interop.IVsHierarchy>
<Extension()>
Public Iterator Function EnumImportingProjects (hierarchy As IVsHierarchy) As IEnumerable(Of IVsHierarchy)

Parameters

hierarchy
IVsHierarchy

The Shared Project hierarchy.

Returns

An enumerable of hierarchies that are importing the shared assets owned by the given Shared Project hierarchy.

Attributes

Applies to