語言

SupportedOSPlatformAttribute(String) 建構函式

定義

初始化指定支援作業系統平台的屬性類別新實例 SupportedOSPlatformAttribute 。

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)

參數

platformName
String

支援的作業系統平台名稱,並可選擇包含版本。

適用於