VersionAttribute VersionAttribute VersionAttribute VersionAttribute VersionAttribute Class

Definition

Indicates the version of the type.

public : sealed class VersionAttribute : Attribute
struct winrt::Windows::Foundation::Metadata::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) VersionAttribute(UInt32)

Creates and initializes a new instance of the attribute.

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

Creates and initializes a new instance of the attribute.

See Also