PlatformAttribute
PlatformAttribute
PlatformAttribute
PlatformAttribute
Class
Definition
Declares the platform that a type should be supported in, when platform-specific metadata is produced.
public : sealed class PlatformAttribute : Attributepublic sealed class PlatformAttribute : AttributePublic NotInheritable Class PlatformAttribute Inherits Attribute// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.FoundationContract (introduced v1)
|
Constructors
PlatformAttribute(Platform) PlatformAttribute(Platform) PlatformAttribute(Platform) PlatformAttribute(Platform)
Creates and initializes a new instance of the attribute.
public : PlatformAttribute(Platform platform)public PlatformAttribute(Platform platform)Public Sub New(platform As Platform)// You can use this method in JavaScript.
Parameters