Autodesk Vault ProfessionalVault API

MaximumValueConstraint Class

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

This policy is used to created a maxmimum value for a number property. For example, a numeric property value may not be greater than 1000

Syntax

public class MaximumValueConstraint : PropertyConstraint 
Public Class MaximumValueConstraint
   Inherits PropertyConstraint

Constructors

NameDescription
MaximumValueConstraint

Properties

NameDescription
ConstraintTypeGets the type of constraint represented by this object.
ConstraintValueGets or sets the maximum value enforced by 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 the specified obj is the same instance as the current one.
Equals(Object,Boolean)Determines whether two PropertyConstraints is the same.

Inheritance Hierarchy

See Also