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

플랫폼입니다.

반품

true현재 앱이 지정된 플랫폼에서 실행 중이면 이고, 그렇지 않으면 . false

적용 대상