ExtensionMethods::IsAncestorOf<TElementType> Method (TElementType, TElementType, Func<TElementType, TElementType>^)
Visual Studio 2015
Microsoft internal use only.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
public: generic<typename TElementType> where TElementType : ref class [ExtensionAttribute] static bool IsAncestorOf( TElementType element, TElementType other, Func<TElementType, TElementType>^ parentEvaluator )
Parameters
- element
-
Type:
TElementType
The ancestor element.
- other
-
Type:
TElementType
The descendent element.
- parentEvaluator
-
Type:
System::Func<TElementType, TElementType>^
The function used to determine an element's parent.
Return Value
Type: System::BooleanType Parameters
- TElementType
Show: