PropertyConstraint Class
Autodesk.DataManagement.Client.Framework.Vault›Autodesk.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
| Name | Description |
|---|---|
| ConstraintType | Gets the type of constraint represented by this object. |
| ConstraintValue | Gets or sets the value of this constraint. |
| EntityCategory | Gets the category that this constraint is associated with. |
| ID | Gets the unique identifies of this constraint. |
| PropDefID | Gets the ID of the PropertyDefinition that this constraint is associated with |
| RestrictionMessage | Gets 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
| Name | Description |
|---|---|
| Equals | Determines whether two PropertyConstraints is the same. |
Returned By
Where you get a PropertyConstraint — members that return one.
Inheritance Hierarchy
- System.Object
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.PropertyConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.CaseSensitivityConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.EnforceListOfValuesConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.MaximumDateConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.MaximumLengthConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.MaximumValueConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.MinimumDateConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.MinimumLengthConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.MinimumValueConstraint
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.RequiresValueConstraint