ComposableAttribute Constructors

Definition

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

type
TypeName Type

The type of the factory object that is used to create the programming element.

compositionType
CompositionType

One of the enumeration values.

version
UInt32

unsigned int

The version.

See also

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

type
TypeName Type

The type of the factory object that is used to create the programming element.

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

type
TypeName Type

The type of the factory object that is used to create the programming element.

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
TypeName Type

The type of the API contract implementing the class.

See also

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

type
TypeName Type

The type of the factory object that is used to create the programming element.

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

Applies to