HasVariantAttribute HasVariantAttribute HasVariantAttribute HasVariantAttribute HasVariantAttribute 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 : Attribute
struct winrt::Windows::Foundation::Metadata::HasVariantAttribute : Attribute
public sealed class HasVariantAttribute : Attribute
Public NotInheritable Class HasVariantAttribute Inherits Attribute
var hasVariantAttribute = new hasVariantAttribute();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

HasVariantAttribute() HasVariantAttribute() HasVariantAttribute() HasVariantAttribute() HasVariantAttribute()

Creates and initializes a new instance of the attribute.

See also