CompositionConstants Class

Contains static metadata keys used by the composition system.

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

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

public static class CompositionConstants

The CompositionConstants type exposes the following members.

  NameDescription
Public fieldStatic memberSupported by Portable Class LibraryExportTypeIdentityMetadataNameSpecifies the metadata key created by the composition system to mark a part with a unique identifier.
Public fieldStatic memberGenericContractMetadataNameSpecifies the metadata key created by the composition system to mark a generic contract.
Public fieldStatic memberGenericParametersMetadataNameSpecifies the metadata key created by the composition system to mark generic parameters.
Public fieldStatic memberImportSourceMetadataNameSpecifies the metadata key created by the composition system to mark an import source.
Public fieldStatic memberIsGenericPartMetadataNameSpecifies the metadata key created by the composition system to mark an IsGenericPart method.
Public fieldStatic memberSupported by Portable Class LibraryPartCreationPolicyMetadataNameSpecifies the metadata key created by the composition system to mark a part with a creation policy.
Top

Do 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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft