UnsupportedOSPlatformGuardAttribute(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為指定且不支援的 OS 平台初始化 UnsupportedOSPlatformGuardAttribute 屬性類別的新執行個體。
public:
UnsupportedOSPlatformGuardAttribute(System::String ^ platformName);
public UnsupportedOSPlatformGuardAttribute (string platformName);
new System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute : string -> System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute
Public Sub New (platformName As String)
參數
- platformName
- String
不支援的 OS 平臺名稱,屬性化成員會受到防護,選擇性地包含版本。