Sdílet prostřednictvím


SupportedOSPlatformGuardAttribute(String) Konstruktor

Definice

Inicializuje novou instanci třídy atributu SupportedOSPlatformGuardAttribute pro zadanou podporovanou platformu operačního systému.

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)

Parametry

platformName
String

Podporovaný název platformy operačního systému, který člen atributu chrání, volitelně včetně verze.

Platí pro