Window2.Activate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Activates the window that is represented by the WindowObject object.
public:
void Activate();
public void Activate ();
abstract member Activate : unit -> unit
Public Sub Activate ()
Implements
Examples
thisApplication.ActiveWindow.<span class="label">Activate</span>();
Remarks
The Activate method can be used only with the editing window types; if used with a designing window type, it will return an error.
To determine whether a window is the active window, use the Active property.
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk