Find(EntityCategory,PropertyConstraintType) Method
Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties›PropertyDefinition.DefinitionConstraints
Retrieves a specific constraint type for a specific category (ie. Fetch the MinimumLength restriction for the Assemblies category)
Syntax
public PropertyConstraint Find(
EntityCategory entityCategory,
PropertyConstraintType constraintType
)Public Overloads Function Find( _
ByVal entityCategory As EntityCategory, _
ByVal constraintType As PropertyConstraintType _
) As PropertyConstraintParameters
| Name | Description |
|---|---|
| entityCategory | The category to retrieve the constraint for |
| constraintType | The constraint type to retrieve a value for |
Return Value
The PropertyConstraint object, or null if not found