ExtensionMethods::FindCommonAncestor<T> Method (T, T, Func<T, T>^)

 

Microsoft internal use only.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
generic<typename T>
where T : DependencyObject
[ExtensionAttribute]
static T FindCommonAncestor(
	T obj1,
	T obj2,
	Func<T, T>^ parentEvaluator
)

Parameters

obj1
Type: T

The first object.

obj2
Type: T

The second object.

parentEvaluator
Type: System::Func<TT>^

The method used to determine the parent of an element.

Return Value

Type: T

Type Parameters

T
Return to top
Show: