DefaultAttribute DefaultAttribute DefaultAttribute DefaultAttribute Class

Indicates the default interface for a runtime class.

Syntax

Declaration

public sealed class DefaultAttributepublic sealed class DefaultAttributePublic NotInheritable Class DefaultAttributepublic sealed class DefaultAttribute

Constructors summary

Creates and initializes a new instance of the attribute.

Constructors

  • DefaultAttribute()
    DefaultAttribute()
    DefaultAttribute()
    DefaultAttribute()

    Creates and initializes a new instance of the attribute.

    public DefaultAttribute()public New()Public Sub New()public DefaultAttribute()

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.FoundationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.AttributeUsageAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Foundation.Metadata.dll