次の方法で共有


AllowMultipleAttribute クラス

定義

カスタム属性の複数のインスタンスをターゲットに適用できることを示します。

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

Windows の要件

要件 説明
デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.FoundationContract (v1.0 で導入)

コンストラクター

名前 説明
AllowMultipleAttribute()

属性の新しいインスタンスを作成して初期化します。

適用対象

こちらもご覧ください