Version

XsdValueConstraint Class

This class retrieves the constraints placed on a value as declared by an XSD schema. Objects of this type can be instantiated via the GetConstraintsOnXsdValue method of the XsdValueSetConstraint class.
Syntax
'Declaration
 
Public Class XsdValueConstraint 
   Inherits XsdConstraintBase
public class XsdValueConstraint : XsdConstraintBase 
Remarks

This class requires that:

  • the XSD namespace ("http://www.w3.org/2001/XMLSchema") has a prefix associated with it.
  • the schema's target namespace is the default namespace (i.e. has no prefix).
  • each valueset in the schema has a unique name.

The term valueset refers to a complex type in an XSD. For example, a table in a grid is considered a 'valueset' because it contains multiple columns. The term value refers to a simple type in an XSD. For example, a column in a grid is considered a 'value' because it contains only single data objects (each cell contains one piece of data).

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also