Edit

Bagikan melalui


SupportedOSPlatformAttribute(String) Constructor

Definition

Initializes a new instance of the SupportedOSPlatformAttribute attribute class for the specified supported OS platform.

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

Parameters

platformName
String

The supported OS platform name, optionally including a version.

Applies to