共用方式為


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)

建立並初始化 屬性的新實例。

適用於

另請參閱