다음을 통해 공유


CompositionConstants Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Contains static metadata keys used by the composition system.

Inheritance Hierarchy

System.Object
  System.ComponentModel.Composition.Hosting.CompositionConstants

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

Syntax

'Declaration
Public NotInheritable Class CompositionConstants
public static class CompositionConstants

The CompositionConstants type exposes the following members.

Fields

  Name Description
Public fieldStatic member ExportTypeIdentityMetadataName Specifies the key for metadata created by the composition system to mark a part with a unique identifier.
Public fieldStatic member PartCreationPolicyMetadataName Specifies the key for metadata created by the composition system to mark a part with a creation policy.

Top

Remarks

Users should not create metadata by using any of the keys in this class, except to deliberately interact with the composition system. Other uses will cause unpredictable behavior.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.