Dela via


ExclusiveToAttribute Class

Definition

Indicates that the specified type is exclusive to this type.

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

Windows requirements

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

Constructors

ExclusiveToAttribute(Type)

Creates and initializes a new instance of the attribute.

Applies to

See also