Editar

Compartilhar via


SupportedOSPlatformGuardAttribute(String) Constructor

Definition

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

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)

Parameters

platformName
String

The supported OS platform name the attributed member would guard, optionally including a version.

Applies to