Language

Console.OpenStandardInputHandle メソッド

定義

標準入力ハンドルを取得します。

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 。

属性

例外

現在のプラットフォームでは、標準入力ハンドルへのアクセスはサポートされていません。

注釈

返されたハンドルは基になるリソースを所有していないため、破棄しても標準の入力ハンドルは閉じられません。

適用対象