Partilhar via


PartCreationPolicyConstraint.GetExportMetadata(CreationPolicy) Método

Definição

Obtém um dicionário de metadados a serem incluídos em um ExportDefinition para significar CreationPolicy da parte de exportação.

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)

Parâmetros

partCreationPolicy
CreationPolicy

O CreationPolicy do exportando ComposablePartDefinition.

Retornos

Um dicionário de metadados.

Aplica-se a