Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PartCreationPolicyAttribute::CreationPolicy Property

 

Gets or sets a value that indicates the creation policy of the attributed part.

Namespace:   System.ComponentModel.Composition
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public:
property CreationPolicy CreationPolicy {
	CreationPolicy get();
	private: void set(CreationPolicy value);
}

Property Value

Type: System.ComponentModel.Composition::CreationPolicy

One of the CreationPolicy values that indicates the creation policy of the attributed part. The default is Any.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft