Has​Variant​Attribute Has​Variant​Attribute Has​Variant​Attribute Class

Definition

Indicates that the type is an instance of a variant IInspectable. Applies to runtime classes, interfaces, and parameterized interfaces.

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

Constructors

HasVariantAttribute() HasVariantAttribute() HasVariantAttribute()

Creates and initializes a new instance of the attribute.

public : HasVariantAttribute()public HasVariantAttribute()Public Sub New()
Attributes

See Also