Console.OpenStandardInputHandle メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
標準入力ハンドルを取得します。
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
返品
標準入力ハンドルを表す SafeFileHandle 。
- 属性
例外
現在のプラットフォームでは、標準入力ハンドルへのアクセスはサポートされていません。
注釈
返されたハンドルは基になるリソースを所有していないため、破棄しても標準の入力ハンドルは閉じられません。