SharedProjectUtilities.EnumImportingProjects(IVsHierarchy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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