Taal

Console.OpenStandardOutputHandle Methode

Definitie

Hiermee haalt u de standaarduitvoergreep op.

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

Retouren

Een SafeFileHandle weergave van de standaarduitvoergreep.

Kenmerken

Uitzonderingen

Het huidige platform biedt geen ondersteuning voor toegang tot de standaarduitvoergreep.

Opmerkingen

De geretourneerde ingang is niet de eigenaar van de onderliggende resource, dus als u deze opstelt, wordt de standaarduitvoergreep niet gesloten.

Van toepassing op