RuntimeInformation.IsOSPlatform(OSPlatform) 메서드

정의

현재 애플리케이션이 지정된 플랫폼에서 실행되고 있는지 여부를 나타냅니다.

public:
 static bool IsOSPlatform(System::Runtime::InteropServices::OSPlatform osPlatform);
public static bool IsOSPlatform (System.Runtime.InteropServices.OSPlatform osPlatform);
static member IsOSPlatform : System.Runtime.InteropServices.OSPlatform -> bool
Public Shared Function IsOSPlatform (osPlatform As OSPlatform) As Boolean

매개 변수

osPlatform
OSPlatform

플랫폼입니다.

반환

Boolean

현재 앱이 지정된 플랫폼에서 실행 중이면 true이고, 그러지 않은 경우 false입니다.

적용 대상