Sprache

Console.OpenStandardInputHandle Methode

Definition

Ruft das Standardeingabehandle ab.

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

Gibt zurück

A SafeFileHandle representing the standard input handle.

Attribute

Ausnahmen

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

Hinweise

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

Gilt für: