VariantAttribute attribute

Applies to Windows and Windows Phone

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

Syntax

Public NotInheritable Class VariantAttribute
    Inherits 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

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

Attribute

 

 

Show:
© 2014 Microsoft