OleComponent.IOleComponent.OnEnterState Method
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
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
- uStateID
Type: System.UInt32
The state being entered or exited, maps directly to ComponentState
- fEnter
Type: System.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
- 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.
See Also
Reference
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace