Class TargetPlatformAttribute
Features attribute.
[AttributeUsage(AttributeTargets.Class)]
public class TargetPlatformAttribute : Attribute
- Inheritance
-
TargetPlatformAttribute
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the TargetPlatformAttribute.
Constructors
TargetPlatformAttribute(Platforms)
Features attribute.
public TargetPlatformAttribute(Platforms platform = Platforms.AnyCPU)
Parameters
platform
PlatformsPlatform.
Remarks
Initializes a new instance of the TargetPlatformAttribute.
Properties
Platform
Platform.
public Platforms Platform { get; }