Udostępnij za pośrednictwem


DefaultOverloadAttribute Class

Definition

Indicates that a method is the default overload method. This attribute must be used with OverloadAttribute.

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

Windows requirements

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

Constructors

DefaultOverloadAttribute()

Creates and initializes a new instance of the attribute.

Applies to

See also