Autodesk Vault ProfessionalVault API

PropertyConstraint Class

Autodesk.DataManagement.Client.Framework.VaultAutodesk.DataManagement.Client.Framework.Vault.Currency.Properties

This abstract base class represents a policy on the value of a property. For example, "the property value must be at least 6 characters long". It can be used to test the value of a property to see if it violates the constraint.

Syntax

public abstract class PropertyConstraint 
Public MustInherit Class PropertyConstraint 

Properties

NameDescription
ConstraintTypeGets the type of constraint represented by this object.
ConstraintValueGets or sets the value of this constraint.
EntityCategoryGets the category that this constraint is associated with.
IDGets the unique identifies of this constraint.
PropDefIDGets the ID of the PropertyDefinition that this constraint is associated with
RestrictionMessageGets the restriction message of this constraint. If Resolve returns a value of PropertyConstraint.ResolveResult.Failed, then the RestrictionMessage will contain a string which describes the failure.

Methods

NameDescription
EqualsDetermines whether two PropertyConstraints is the same.

Returned By

Where you get a PropertyConstraint — members that return one.

Inheritance Hierarchy

See Also