VersionAttribute VersionAttribute VersionAttribute VersionAttribute Class

Definition

Indicates the version of the type.

public : sealed class VersionAttribute : Attribute
public sealed class VersionAttribute : Attribute
Public NotInheritable Class VersionAttribute Inherits Attribute
var versionAttribute = new versionAttribute(version);
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) 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)
var versionAttribute = new versionAttribute(version);
Parameters
version
unsigned int UInt32 UInt32 UInt32

The version to associate with the marked object.

See Also

VersionAttribute(UInt32, Platform) 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)
var versionAttribute = new versionAttribute(version, platform);
Parameters
version
unsigned int UInt32 UInt32 UInt32

The version to associate with the marked object.

platform
Platform Platform Platform Platform

A value of the enumeration. The default is Windows.

See Also

See Also