Run Method (Window)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Starts a Windows Presentation Foundation (WPF) application and opens a specified window.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub Run ( _
window As Window _
)
public void Run(
Window window
)
public:
void Run(
Window^ window
)
member Run :
window:Window -> unit
public function Run(
window : Window
)
Parameters
- window
Type: Microsoft.SPOT.Presentation. . :: . .Window
An object representing a window that opens automatically when the WPF application starts running.
Remarks
This overload extends the Run method to open the specified window when the WPF application starts running.
If you define your Application object only in code, you must call the Run method explicitly .
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.