Freigeben über


NotifyIcon-Konstruktor ()

Initialisiert eine neue Instanz der NotifyIcon-Klasse.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New NotifyIcon
public NotifyIcon ()
public:
NotifyIcon ()
public NotifyIcon ()
public function NotifyIcon ()

Hinweise

Beim Erstellen eines neuen NotifyIcon wird die Visible-Eigenschaft auf false festgelegt. Um das erstellte NotifyIcon auch tatsächlich verwenden zu können, müssen Sie die Visible-Eigenschaft auf true festlegen. Diese Instanz bleibt erhalten, bis sie durch den entsprechenden Container für die Garbage Collection freigegeben wird.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

NotifyIcon-Klasse
NotifyIcon-Member
System.Windows.Forms-Namespace