PartCreationPolicyConstraint.GetExportMetadata(CreationPolicy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a dictionary of metadata to include in an ExportDefinition to signify the exporting part's CreationPolicy.
public static System.Collections.Immutable.ImmutableDictionary<string,object> GetExportMetadata (Microsoft.VisualStudio.Composition.CreationPolicy partCreationPolicy);
static member GetExportMetadata : Microsoft.VisualStudio.Composition.CreationPolicy -> System.Collections.Immutable.ImmutableDictionary<string, obj>
Public Shared Function GetExportMetadata (partCreationPolicy As CreationPolicy) As ImmutableDictionary(Of String, Object)
Parameters
- partCreationPolicy
- CreationPolicy
The CreationPolicy of the exporting ComposablePartDefinition.
Returns
A dictionary of metadata.