RuntimeInformation.IsOSPlatform(OSPlatform) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Geçerli uygulamanın belirtilen platformda çalışıp çalışmadığını gösterir.
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
Parametreler
- osPlatform
- OSPlatform
Bir platform.
Döndürülenler
true geçerli uygulama belirtilen platformda çalışıyorsa; aksi takdirde , false.