OverloadAttribute 类

定义

将该方法标识为支持重载的语言中的重载。

public ref class OverloadAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Method)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class OverloadAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Method)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class OverloadAttribute : Attribute
function OverloadAttribute(method)
Public NotInheritable Class OverloadAttribute
Inherits Attribute
继承
OverloadAttribute
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.FoundationContract (在 v1.0 中引入)

构造函数

OverloadAttribute(String)

创建并初始化属性的新实例。

适用于

另请参阅