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
- items
Type: System.Collections.Generic.IEnumerable<IVsHierarchyItem>
Return Value
Type: Microsoft.VisualStudio.Shell.IVsHierarchyItem
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.