Share via


WebBrowser.Activate Method

Definition

Activates the WebBrowser.

public:
 System::Object ^ Activate();
public object Activate ();
member this.Activate : unit -> obj
Public Function Activate () As Object

Returns

true if the WebBrowser is activated; otherwise, false.

Examples

For a code example that demonstrates how to use this method, see Microsoft.Office.Tools.Excel.Controls.Button.Activate. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Activate method.

Applies to