ComposableAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ComposableAttribute(Type, CompositionType, UInt32) |
Creates and initializes a new instance of the attribute. |
ComposableAttribute(Type, CompositionType, UInt32, String) |
Creates and initializes a new instance of the attribute. |
ComposableAttribute(Type, CompositionType, UInt32, Type) |
Creates and initializes a new instance of the attribute. |
ComposableAttribute(Type, CompositionType, UInt32, Platform) |
Creates and initializes a new instance of the attribute. |
ComposableAttribute(Type, CompositionType, UInt32)
Creates and initializes a new instance of the attribute.
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)
Parameters
- compositionType
- CompositionType
One of the enumeration values.
- version
-
UInt32
unsigned int
The version.
See also
- ComposableAttribute(Type, CompositionType, UInt32, Platform)
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32, Type)
Applies to
ComposableAttribute(Type, CompositionType, UInt32, String)
Creates and initializes a new instance of the attribute.
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)
Parameters
- compositionType
- CompositionType
One of the enumeration values.
- version
-
UInt32
unsigned int
The version of the API contract in which the composition factory was added to the runtime class's activation factory.
- contract
-
String
Platform::String
A string representing the type of the API contract implementing the class.
Applies to
ComposableAttribute(Type, CompositionType, UInt32, Type)
Creates and initializes a new instance of the attribute.
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)
Parameters
- compositionType
- CompositionType
One of the enumeration values.
- version
-
UInt32
unsigned int
The version of the API contract in which the composition factory was added to the runtime class's activation factory.
See also
- ComposableAttribute(Type, CompositionType, UInt32, Platform)
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32)
Applies to
ComposableAttribute(Type, CompositionType, UInt32, Platform)
Creates and initializes a new instance of the attribute.
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)
Parameters
- compositionType
- CompositionType
One of the enumeration values.
- version
-
UInt32
unsigned int
The version.
- platform
- Platform
A value of the enumeration. The default is Windows.
See also
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32, Type)
- ComposableAttribute(Type, CompositionType, UInt32)