Compartir a través de


EmbeddedObjectHelper.GetOleCommandTarget(UIElement) Method

Definition

Gets IOleCommandTarget value for the provided embedded UIElement.

public:
 static Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ GetOleCommandTarget(System::Windows::UIElement ^ element);
public static Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget GetOleCommandTarget (System.Windows.UIElement element);
static member GetOleCommandTarget : System.Windows.UIElement -> Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
Public Shared Function GetOleCommandTarget (element As UIElement) As IOleCommandTarget

Parameters

element
UIElement

An instance of UIElement to be used in embedded environments.

Returns

Applies to