RuntimeInformation.IsOSPlatform(OSPlatform) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 애플리케이션이 지정된 플랫폼에서 실행되고 있는지 여부를 나타냅니다.
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
입니다.