PartCreationPolicyConstraint.GetRequiredCreationPolicyConstraints 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.
Creates a set of constraints to apply to an import given its required part creation policy.
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)
Parameters
- requiredCreationPolicy
- CreationPolicy