Langue

Console.OpenStandardInputHandle Méthode

Définition

Obtient le handle d’entrée standard.

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

Retours

Représentant SafeFileHandle le handle d’entrée standard.

Attributs

Exceptions

La plateforme actuelle ne prend pas en charge l’accès au handle d’entrée standard.

Remarques

Le handle retourné ne possède pas la ressource sous-jacente, de sorte qu’il ne ferme pas le handle d’entrée standard.

S’applique à