ExtensionMethods::FindAncestor<TElementType> Method (TElementType, Func<TElementType, TElementType>^, Func<TElementType, Boolean>^)
Visual Studio 2015
Namespace:
Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
public: generic<typename TElementType> [ExtensionAttribute] static Object^ FindAncestor( TElementType obj, Func<TElementType, TElementType>^ parentEvaluator, Func<TElementType, bool>^ ancestorSelector )
Parameters
- obj
- Type: TElementType
- parentEvaluator
- Type: System::Func<TElementType, TElementType>^
- ancestorSelector
- Type: System::Func<TElementType, Boolean>^
Return Value
Type: System::Object^Type Parameters
- TElementType
Show: