Moves the focus to the current item.
Assembly: EnvDTE (in EnvDTE.dll)
'Declaration Sub Activate
abstract Activate : unit -> unit
When Activate is invoked, it is as if the user clicked on the item, but no click events occur.
.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.