Version​Attribute Version​Attribute Version​Attribute Class

Definition

Indicates the version of the type.

public : sealed class VersionAttribute : Attributepublic sealed class VersionAttribute : AttributePublic NotInheritable Class VersionAttribute Inherits Attribute
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

VersionAttribute(UInt32) VersionAttribute(UInt32) VersionAttribute(UInt32)

Creates and initializes a new instance of the attribute.

public : VersionAttribute(unsigned int version)public VersionAttribute(UInt32 version)Public Sub New(version As UInt32)
Parameters
version
unsigned int UInt32 UInt32

The version to associate with the marked object.

Attributes
See Also

VersionAttribute(UInt32, Platform) VersionAttribute(UInt32, Platform) VersionAttribute(UInt32, Platform)

Creates and initializes a new instance of the attribute.

public : VersionAttribute(unsigned int version, Platform platform)public VersionAttribute(UInt32 version, Platform platform)Public Sub New(version As UInt32, platform As Platform)
Parameters
version
unsigned int UInt32 UInt32

The version to associate with the marked object.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

Attributes
See Also

See Also