EmbeddedObjectHelper.SetOleCommandTarget(UIElement, IOleCommandTarget) 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.
Sets IOleCommandTarget value for the provided embedded UIElement.
public:
static void SetOleCommandTarget(System::Windows::UIElement ^ element, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ value);
public static void SetOleCommandTarget (System.Windows.UIElement element, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget value);
static member SetOleCommandTarget : System.Windows.UIElement * Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget -> unit
Public Shared Sub SetOleCommandTarget (element As UIElement, value As IOleCommandTarget)
Parameters
- value
- IOleCommandTarget
The IOleCommandTarget to be set.