Version

XsdValueSetConstraint Class Members

The following tables list the members exposed by XsdValueSetConstraint.

Public Constructors
 NameDescription
Public ConstructorXsdValueSetConstraint ConstructorCreates an XsdValueSetConstraint and initializes it with the constraint information found in in the 'xpathDoc' argument.  
Protected Fields
 NameDescription
Protected FieldtargetValueNameFor internal use only. (Inherited from Infragistics.Win.Xml.Schema.XsdConstraintBase)
Protected FieldvalueConstraintFor internal use only. (Inherited from Infragistics.Win.Xml.Schema.XsdConstraintBase)
Public Properties
 NameDescription
Public PropertyFoundValueSetReturns true if the target valueset was found, else false.  
Public PropertyHasMaxOccurrencesReturns true if the MaxOccurrences property has a meaningful value.  
Public PropertyHasMinOccurrencesReturns true if the MinOccurrences property has a meaningful value.  
Public PropertyIsMaxOccurrencesUnboundedReturns true if the target valueset can occur an infinte number of times.  
Public PropertyMaxOccurrencesReturns the maximum number of times that instances of this valueset can occur (inclusive).  
Public PropertyMinOccurrencesReturns the minimum number of times that instances of this valueset can occur (inclusive).  
Public PropertyValueSetNameReturns the name of the valueset (i.e. complex type) from which the constraints are extracted. (Inherited from Infragistics.Win.Xml.Schema.XsdConstraintBase)
Public Methods
 NameDescription
Public MethodGetConstraintsOnXsdValueReturns the constraints placed on an XSD value (i.e. an 'xs:simpleType'). If the target valueset was not found in the XSD schema, this property will return null.  
Protected Methods
 NameDescription
Protected MethodExtractConstraintsOverridden. Determines the values for MinOccurrences and MaxOccurrences.  
See Also