Share via


EmbeddedObjectHelper.GetUserContextProvider(UIElement) Method

Definition

Gets IVsProvideUserContext value for the provided embedded UIElement.

public:
 static Microsoft::VisualStudio::Shell::Interop::IVsProvideUserContext ^ GetUserContextProvider(System::Windows::UIElement ^ element);
public static Microsoft.VisualStudio.Shell.Interop.IVsProvideUserContext GetUserContextProvider (System.Windows.UIElement element);
static member GetUserContextProvider : System.Windows.UIElement -> Microsoft.VisualStudio.Shell.Interop.IVsProvideUserContext
Public Shared Function GetUserContextProvider (element As UIElement) As IVsProvideUserContext

Parameters

element
UIElement

An instance of UIElement to be used in embedded environments.

Returns

Applies to