VersionAttribute Constructor (UInt32, Platform)

Creates and initializes a new instance of the attribute.

Syntax

public:
VersionAttribute(
         uint32 version,
         Platform platform
)  

Parameters

version
Type: uint32 

 The version to associate with the marked object.

platform
Type: Platform 

Specifies the platforms that a specified type should be supported in.

Requirements

Namespace: Windows.Foundation.Metadata

Metadata: windows.winmd

See also

Reference

VersionAttribute Class

VersionAttribute Members

Windows.Foundation.Metadata Namespace