VariantAttribute VariantAttribute VariantAttribute VariantAttribute 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 VariantAttributepublic sealed class VariantAttributePublic NotInheritable Class VariantAttributepublic sealed class VariantAttribute
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

VariantAttribute() VariantAttribute() VariantAttribute() VariantAttribute()

Creates and initializes a new instance of the attribute.

public VariantAttribute()public New()Public Sub New()public VariantAttribute()
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)