HierarchyUtilities.FindCommonAncestor Method

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function FindCommonAncestor ( _
    items As IEnumerable(Of IVsHierarchyItem) _
) As IVsHierarchyItem
public static IVsHierarchyItem FindCommonAncestor(
    IEnumerable<IVsHierarchyItem> items
)
public:
static IVsHierarchyItem^ FindCommonAncestor(
    IEnumerable<IVsHierarchyItem^>^ items
)
static member FindCommonAncestor : 
        items:IEnumerable<IVsHierarchyItem> -> IVsHierarchyItem
public static function FindCommonAncestor(
    items : IEnumerable<IVsHierarchyItem>
) : IVsHierarchyItem

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.IVsHierarchyItem

.NET Framework Security

See Also

Reference

HierarchyUtilities Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace