ComposableAttribute 类

定义

指示编程元素的构成方式。

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

Windows 要求

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

构造函数

ComposableAttribute(Type, CompositionType, UInt32)

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

ComposableAttribute(Type, CompositionType, UInt32, Platform)

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

ComposableAttribute(Type, CompositionType, UInt32, String)

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

ComposableAttribute(Type, CompositionType, UInt32, Type)

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

适用于

另请参阅