共用方式為


CommonMessagePump.IOleComponent.OnEnterState Method

Notifies the component when the application enters or exits the specified 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 IOleComponent.OnEnterState
void IOleComponent.OnEnterState(
    uint uStateID,
    int fEnter
)

Parameters

  • fEnter
    Type: System.Int32
    true if the application is entering the state, false if it is exiting the state.

Implements

IOleComponent.OnEnterState(UInt32, Int32)

Remarks

See OnEnterState for more information.

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace