Version

GetConstraintsOnXsdValue Method

Returns 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.
Syntax
'Declaration
 
Public Function GetConstraintsOnXsdValue( _
   ByVal xsdValueName As String _
) As XsdValueConstraint
public XsdValueConstraint GetConstraintsOnXsdValue( 
   string xsdValueName
)

Parameters

xsdValueName
The name of the value, as specified by the 'name' attribute in the XSD schema.
Remarks

Returns a XsdValueConstraint containing the constraint information for the specified XSD value. If the valueset specified in this object's constructor does not exist, this returns null. In other words, if the FoundValueSet property returns false, this method returns null.

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