Sprache

Console.OpenStandardOutputHandle Methode

Definition

Ruft den Standardausgabepunkt ab.

public:
 static Microsoft::Win32::SafeHandles::SafeFileHandle ^ OpenStandardOutputHandle();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenStandardOutputHandle();
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
static member OpenStandardOutputHandle : unit -> Microsoft.Win32.SafeHandles.SafeFileHandle
Public Shared Function OpenStandardOutputHandle () As SafeFileHandle

Gibt zurück

A SafeFileHandle representing the standard output handle.

Attribute

Ausnahmen

Die aktuelle Plattform unterstützt nicht den Zugriff auf das Standardausgabehandle.

Hinweise

Das zurückgegebene Handle besitzt nicht die zugrunde liegende Ressource, sodass das Entfernen des Standardausgabehandles nicht geschlossen wird.

Gilt für: