Udostępnij za pośrednictwem


EmbeddedObjectHelper.SetUserContextProvider Method

Definition

Sets IVsProvideUserContext value for the provided embedded UIElement.

public:
 static void SetUserContextProvider(System::Windows::UIElement ^ element, Microsoft::VisualStudio::Shell::Interop::IVsProvideUserContext ^ value);
public static void SetUserContextProvider (System.Windows.UIElement element, Microsoft.VisualStudio.Shell.Interop.IVsProvideUserContext value);
static member SetUserContextProvider : System.Windows.UIElement * Microsoft.VisualStudio.Shell.Interop.IVsProvideUserContext -> unit
Public Shared Sub SetUserContextProvider (element As UIElement, value As IVsProvideUserContext)

Parameters

element
UIElement

An instance of UIElement to be used in embedded environments.

Applies to