Autodesk Vault ProfessionalVault API

Find(EntityCategory,PropertyConstraintType) Method

Autodesk.DataManagement.Client.Framework.Vault.Currency.PropertiesPropertyDefinition.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 PropertyConstraint

Parameters

NameDescription
entityCategoryThe category to retrieve the constraint for
constraintTypeThe constraint type to retrieve a value for

Return Value

The PropertyConstraint object, or null if not found

See Also