Langue

Console.OpenStandardOutputHandle Méthode

Définition

Obtient le handle de sortie standard.

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

Retours

Représentant SafeFileHandle le handle de sortie standard.

Attributs

Exceptions

La plateforme actuelle ne prend pas en charge l’accès au handle de sortie standard.

Remarques

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

S’applique à