共用方式為


CommonMessagePump.IOleComponent2Private.OnEnterState Method

Called when the environment has entered or left a state.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Private Sub OnEnterState ( _
    uStateID As UInteger, _
    fEnter As Integer _
) Implements IOleComponent2Private.OnEnterState
void IOleComponent2Private.OnEnterState(
    uint uStateID,
    int fEnter
)

Parameters

  • fEnter
    Type: System.Int32
    true if the state is being entered, false if the state is being exited.

Implements

IOleComponent2Private.OnEnterState(UInt32, Int32)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace