Share via


PartCreationPolicyConstraint.GetExportMetadata(CreationPolicy) Method

Definition

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.

Applies to