共用方式為


IOleControl Interface

Supports keyboard mnemonics, properties, and events for control objects. For more information, see IOleControl.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("B196B288-BAB4-101A-B69C-00AA00341D07")> _
Public Interface IOleControl
[InterfaceTypeAttribute()]
[GuidAttribute("B196B288-BAB4-101A-B69C-00AA00341D07")]
public interface IOleControl

The IOleControl type exposes the following members.

Methods

  Name Description
Public method FreezeEvents
Public method GetControlInfo
Public method OnAmbientPropertyChange
Public method OnMnemonic

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace