Partage via


SupportedOSPlatformGuardAttribute(String) Constructeur

Définition

Initialise une nouvelle instance de la classe d’attributs SupportedOSPlatformGuardAttribute pour la plateforme de système d’exploitation prise en charge spécifiée.

public:
 SupportedOSPlatformGuardAttribute(System::String ^ platformName);
public SupportedOSPlatformGuardAttribute (string platformName);
new System.Runtime.Versioning.SupportedOSPlatformGuardAttribute : string -> System.Runtime.Versioning.SupportedOSPlatformGuardAttribute
Public Sub New (platformName As String)

Paramètres

platformName
String

Le nom de la plateforme de système d’exploitation pris en charge est protégé par le membre attribué, y compris éventuellement une version.

S’applique à