Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VariantAttribute attribute

Indicates that the item is an instance of a variant IInspectable. Applies to method parameters, properties, and return values of types.

Syntax


public ref class VariantAttribute sealed : Attribute

Attributes

[AttributeUsage(384)]
[Version(0x6020000)]

Members

The VariantAttribute attribute has these types of members:

Constructors

The VariantAttribute attribute has these constructors.

ConstructorDescription
VariantAttribute Creates and initializes a new instance of the attribute.

 

Methods

The VariantAttribute attribute inherits methods from the Object class (C#/VB/C++).

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

See also

Object
Attribute

 

 

Show:
© 2015 Microsoft