Partager via


OleComponent.IOleComponent.OnEnterState Method

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: UInt32

    The state being entered or exited, maps directly to ComponentState

  • fEnter
    Type: Int32

    If the value is TRUE (1) then we are entering the state described by uStateID otherwise we are exiting it.

Implements

IOleComponent.OnEnterState(UInt32, Int32)

.NET Framework Security

See Also

Reference

OleComponent Class

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace