Megosztás a következőn keresztül:


DefaultAttribute Class

Definition

Indicates the default interface for a runtime class.

public ref class DefaultAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.InterfaceImpl)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class DefaultAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.InterfaceImpl)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class DefaultAttribute : Attribute
function DefaultAttribute()
Public NotInheritable Class DefaultAttribute
Inherits Attribute
Inheritance
DefaultAttribute
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Constructors

DefaultAttribute()

Creates and initializes a new instance of the attribute.

Applies to

See also