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
- uStateID
Type: System.UInt32
A member of _OLECSTATE.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.