MaximumLengthConstraint Class Autodesk.DataManagement.Client.Framework.Vault › Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties
This policy is used to created a maxmimum length for a text property. For example, a text property value may not be greater than 10 characters long.
Syntax C# Visual Basic
public class MaximumLengthConstraint : PropertyConstraint Public Class MaximumLengthConstraint
Inherits PropertyConstraint Properties Name Description ConstraintType Gets the type of constraint represented by this object. ConstraintValue Gets or sets the maximum length enforced by 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 the specified obj is the same instance as the current one. Equals(Object,Boolean) Determines whether two PropertyConstraints is the same.
Inheritance Hierarchy System.Object Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.PropertyConstraint Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.MaximumLengthConstraint See Also