CommonMessagePump.IOleComponent.OnEnterState(UInt32, Int32) 方法

定义

当应用程序进入或退出指定状态时,通知组件。

 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

适用于