Implements the <bind> rule.
For a list of all members of this type, see BindRule Members.
System.Object
XRules.RuleBase
XRules.BindRule
[Visual Basic] Public Class BindRule Inherits RuleBase [C#] public class BindRule : RuleBase [C++] public __gc class BindRule : public RuleBase [JScript] public class BindRule extends RuleBase
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
<xr:bind target = "ItemTotal"
value = "UnitPrice * Quantity"
min = "5"
max = "50"
type = "xs:decimal"
minLength = "2"
maxLength = "10"
regex = "d{3}.d{1-2}"
required = "true()" // TODO: not implemented yet.
minOccurs = "3"
maxOccurs = "unbounded" // use 'unbounded' or an XPath expression.
>
<xr:property name="RequiresAuthorization" value="bool(ItemTotal > 300)" />
<xr:valueset select="config('AllowedValues')/Value/@ValueText" />
</xr:bind>
Namespace: XRules
Assembly: XRules.DynamicDom (in XRules.DynamicDom.dll)
BindRule Members | XRules Namespace