Język

Console.OpenStandardOutputHandle Metoda

Definicja

Pobiera standardowy uchwyt wyjściowy.

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

Zwraca

Reprezentacja SafeFileHandle standardowego dojścia wyjściowego.

Atrybuty

Wyjątki

Bieżąca platforma nie obsługuje dostępu do standardowego uchwytu wyjściowego.

Uwagi

Zwrócony uchwyt nie jest właścicielem bazowego zasobu, więc nie zamyka standardowego uchwytu wyjściowego.

Dotyczy