SupportedOSPlatformGuardAttribute(String) コンストラクター

定義

指定したサポートされている OS プラットフォームの SupportedOSPlatformGuardAttribute 属性クラスの新しいインスタンスを初期化します。

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)

パラメーター

platformName
String

サポートされている OS プラットフォーム名は、属性付きメンバーが保護します (必要に応じてバージョンを含む)。

適用対象