CommonMessagePump.IOleComponent.OnEnterState(UInt32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当应用程序进入或退出指定状态时,通知组件。
virtual void Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnEnterState(System::UInt32 uStateID, int fEnter) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::OnEnterState;
virtual void Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnEnterState(unsigned int uStateID, int fEnter) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::OnEnterState;
void Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnEnterState(unsigned int uStateID, int fEnter);
void IOleComponent.OnEnterState (uint uStateID, int fEnter);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnEnterState : uint32 * int -> unit
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnEnterState : uint32 * int -> unit
Sub OnEnterState (uStateID As UInteger, fEnter As Integer) Implements IOleComponent.OnEnterState
参数
- uStateID
- UInt32
的状态 _OLECSTATE 。
- fEnter
- Int32
true 如果应用程序正在进入状态,则为 false 。
实现
Microsoft.Internal.VisualStudio.Shell.Interop.IOleComponent2Private.OnEnterState(System.UInt32,System.Int32)
注解
有关更多信息,请参见OnEnterState。