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 VariantAttribute : Attribute
public sealed class VariantAttribute : Attribute
Public NotInheritable Class VariantAttribute Inherits Attribute
var variantAttribute = new 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 VariantAttribute()
Public Sub New()
var variantAttribute = new variantAttribute();

See Also