ComposableAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ComposableAttribute(Type, CompositionType, UInt32) |
创建并初始化 特性的新实例。 |
ComposableAttribute(Type, CompositionType, UInt32, String) |
创建并初始化 特性的新实例。 |
ComposableAttribute(Type, CompositionType, UInt32, Type) |
创建并初始化 特性的新实例。 |
ComposableAttribute(Type, CompositionType, UInt32, Platform) |
创建并初始化 特性的新实例。 |
ComposableAttribute(Type, CompositionType, UInt32)
创建并初始化 特性的新实例。
public:
ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version);
public ComposableAttribute(Type type, CompositionType compositionType, uint version);
function ComposableAttribute(type, compositionType, version)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger)
参数
- compositionType
- CompositionType
枚举值之一。
- version
-
UInt32
unsigned int
版本。
另请参阅
- ComposableAttribute(Type, CompositionType, UInt32, Platform)
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32, Type)
适用于
ComposableAttribute(Type, CompositionType, UInt32, String)
创建并初始化 特性的新实例。
public:
ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version, Platform::String ^ contract);
public ComposableAttribute(Type type, CompositionType compositionType, uint version, string contract);
function ComposableAttribute(type, compositionType, version, contract)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger, contract As String)
参数
- compositionType
- CompositionType
枚举值之一。
- version
-
UInt32
unsigned int
将组合工厂添加到运行时类激活工厂的 API 协定版本。
- contract
-
String
Platform::String
一个字符串,表示实现 类的 API 协定的类型。
适用于
ComposableAttribute(Type, CompositionType, UInt32, Type)
创建并初始化 特性的新实例。
public:
ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version, Platform::Type ^ contract);
public ComposableAttribute(Type type, CompositionType compositionType, uint version, Type contract);
function ComposableAttribute(type, compositionType, version, contract)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger, contract As Type)
参数
- compositionType
- CompositionType
枚举值之一。
- version
-
UInt32
unsigned int
将组合工厂添加到运行时类激活工厂的 API 协定版本。
另请参阅
- ComposableAttribute(Type, CompositionType, UInt32, Platform)
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32)
适用于
ComposableAttribute(Type, CompositionType, UInt32, Platform)
创建并初始化 特性的新实例。
public:
ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version, Platform platform);
public ComposableAttribute(Type type, CompositionType compositionType, uint version, Platform platform);
function ComposableAttribute(type, compositionType, version, platform)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger, platform As Platform)
参数
- compositionType
- CompositionType
枚举值之一。
- version
-
UInt32
unsigned int
版本。
- platform
- Platform
枚举的一个值。 默认值为 Windows。
另请参阅
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32, Type)
- ComposableAttribute(Type, CompositionType, UInt32)