Compartir a través de


PartCreationPolicyConstraint.GetRequiredCreationPolicyConstraints Método

Definición

Crea un conjunto de restricciones que se aplicarán a una importación dada su directiva de creación de elementos necesaria.

public static System.Collections.Immutable.ImmutableHashSet<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint> GetRequiredCreationPolicyConstraints (Microsoft.VisualStudio.Composition.CreationPolicy requiredCreationPolicy);
static member GetRequiredCreationPolicyConstraints : Microsoft.VisualStudio.Composition.CreationPolicy -> System.Collections.Immutable.ImmutableHashSet<Microsoft.VisualStudio.Composition.IImportSatisfiabilityConstraint>
Public Shared Function GetRequiredCreationPolicyConstraints (requiredCreationPolicy As CreationPolicy) As ImmutableHashSet(Of IImportSatisfiabilityConstraint)

Parámetros

requiredCreationPolicy
CreationPolicy

Devoluciones

Se aplica a