TextPane.Activate Method
Moves the focus to the current item.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub Activate
'Usage
Dim instance As TextPane
instance.Activate()
void Activate()
void Activate()
function Activate()
Remarks
When Activate is invoked, it is as if the user clicked the item, but no click events occurred.
.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
Other Resources
How to: Compile and Run the Automation Object Model Code Examples