Redigera

Dela via


TargetPlatformAttribute(String) Constructor

Definition

Initializes a new instance of the TargetPlatformAttribute attribute class for the specified target OS platform.

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

Parameters

platformName
String

The target OS platform name.

Applies to