ComposableAttribute.ComposableAttribute(Type, CompositionType, UInt32, Platform) constructor

Applies to Windows and Windows Phone

Creates and initializes a new instance of the attribute.

Syntax


var composableAttribute = new Windows.Foundation.Metadata.ComposableAttribute(type, compositionType, version, platform);

Parameters

type

Type: Type

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

compositionType

Type: CompositionType

One of the enumeration values.

version

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The version.

platform

Type: Platform

A value of the enumeration. The default is Windows.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

See also

ComposableAttribute
ComposableAttribute(Type, CompositionType, UInt32)

 

 

Show:
© 2014 Microsoft