ComposableAttribute ComposableAttribute ComposableAttribute ComposableAttribute Class

Definition

Indicates how a programming element is composed.

public : sealed class ComposableAttribute : Attribute
public sealed class ComposableAttribute : Attribute
Public NotInheritable Class ComposableAttribute Inherits Attribute
var composableAttribute = new composableAttribute(type, compositionType, version);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

ComposableAttribute(Type, CompositionType, UInt32) ComposableAttribute(Type, CompositionType, UInt32) ComposableAttribute(Type, CompositionType, UInt32) 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, UInt32 version)
Public Sub New(type As Type, compositionType As CompositionType, version As UInt32)
var composableAttribute = new composableAttribute(type, compositionType, version);
Parameters
type
Platform::Type Type Type Type

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

compositionType
CompositionType CompositionType CompositionType CompositionType

One of the enumeration values.

version
unsigned int UInt32 UInt32 UInt32

The version.

See Also

ComposableAttribute(Type, CompositionType, UInt32, String) ComposableAttribute(Type, CompositionType, UInt32, String) ComposableAttribute(Type, CompositionType, UInt32, String) 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, UInt32 version, String contract)
Public Sub New(type As Type, compositionType As CompositionType, version As UInt32, contract As String)
var composableAttribute = new composableAttribute(type, compositionType, version, contract);
Parameters
type
Platform::Type Type Type Type

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

compositionType
CompositionType CompositionType CompositionType CompositionType

One of the enumeration values.

version
unsigned int UInt32 UInt32 UInt32

The version of the API contract in which the composition factory was added to the runtime class's activation factory.

contract
Platform::String String String String

A string representing the type of the API contract implementing the class.

See Also

ComposableAttribute(Type, CompositionType, UInt32, Platform) ComposableAttribute(Type, CompositionType, UInt32, Platform) ComposableAttribute(Type, CompositionType, UInt32, Platform) 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, UInt32 version, Platform platform)
Public Sub New(type As Type, compositionType As CompositionType, version As UInt32, platform As Platform)
var composableAttribute = new composableAttribute(type, compositionType, version, platform);
Parameters
type
Platform::Type Type Type Type

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

compositionType
CompositionType CompositionType CompositionType CompositionType

One of the enumeration values.

version
unsigned int UInt32 UInt32 UInt32

The version.

platform
Platform Platform Platform Platform

A value of the enumeration. The default is Windows.

See Also

See Also