Partilhar via


PartCreationPolicyConstraint.GetRequiredCreationPolicyConstraints Método

Definição

Cria um conjunto de restrições a serem aplicadas a uma importação dada a política de criação de parte necessária.

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

Retornos

Aplica-se a