SupportedOSPlatformGuardAttribute(String) Konstruktor

Definition

Initierar en ny instans av attributklassen SupportedOSPlatformGuardAttribute för den angivna os-plattformen som stöds.

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)

Parametrar

platformName
String

Det operativsystemplattformsnamn som stöds som den tilldelade medlemmen skulle skydda, om du vill inkludera en version.

Gäller för