Udostępnij za pośrednictwem


AllowMultipleAttribute Class

Definition

Indicates that multiple instances of a custom attribute can be applied to a target.

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
Inheritance
AllowMultipleAttribute
Attributes

Windows requirements

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

Constructors

AllowMultipleAttribute()

Creates and initializes a new instance of the attribute.

Applies to

See also