Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies the component when the application enters or exits the specified state.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Sub OnEnterState ( _
uStateID As UInteger, _
fEnter As Integer _
) Implements IOleComponent.OnEnterState
void IOleComponent.OnEnterState(
uint uStateID,
int fEnter
)
private:
virtual void OnEnterState(
unsigned int uStateID,
int fEnter
) sealed = IOleComponent::OnEnterState
private abstract OnEnterState :
uStateID:uint32 *
fEnter:int -> unit
private override OnEnterState :
uStateID:uint32 *
fEnter:int -> unit
JScript does not support explicit interface implementations.
Parameters
- uStateID
Type: System.UInt32
The state, from _OLECSTATE.
- 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
- 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.