EmbeddedObjectHelper.GetOleCommandTarget(UIElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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