OSPlatform Structure
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Représente une plateforme de système d’exploitation.
public value class OSPlatform : IEquatable<System::Runtime::InteropServices::OSPlatform>
public struct OSPlatform : IEquatable<System.Runtime.InteropServices.OSPlatform>
public readonly struct OSPlatform : IEquatable<System.Runtime.InteropServices.OSPlatform>
type OSPlatform = struct
Public Structure OSPlatform
Implements IEquatable(Of OSPlatform)
- Héritage
- Implémente
Propriétés
| Nom | Description |
|---|---|
| Linux |
Obtient un objet qui représente le système d’exploitation Linux. |
| OSX |
Obtient un objet qui représente le système d’exploitation OSX. |
| Windows |
Obtient un objet qui représente le système d’exploitation Windows. |
Méthodes
| Nom | Description |
|---|---|
| Create(String) |
Crée une nouvelle instance OSPlatform. |
| Equals(Object) |
Détermine si l’instance actuelle OSPlatform est égale à l’objet spécifié. |
| Equals(OSPlatform) |
Détermine si l’instance actuelle et l’instance spécifiée sont égales OSPlatform . |
| GetHashCode() |
Retourne le code de hachage pour cette instance. |
| ToString() |
Retourne la représentation sous forme de chaîne de cette OSPlatform instance. |
Opérateurs
| Nom | Description |
|---|---|
| Equality(OSPlatform, OSPlatform) |
Détermine si deux OSPlatform objets sont égaux. |
| Inequality(OSPlatform, OSPlatform) |
Détermine si deux OSPlatform instances sont inégales. |