Variant​Attribute Variant​Attribute Variant​Attribute Class

Definition

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

public sealed class VariantAttribute : Attributepublic sealed class VariantAttribute : AttributePublic NotInheritable Class VariantAttribute Inherits Attribute
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

VariantAttribute() VariantAttribute() VariantAttribute()

Creates and initializes a new instance of the attribute.

public VariantAttribute()public VariantAttribute()Public Sub New()
Attributes

See Also