DynamicDOM v0.43.2. Implementation based on XRules v0.43

ValuesetRule Class

Implements the <valueset> rule (a child of the <bind> rule).

For a list of all members of this type, see ValuesetRule Members.

System.Object
   XRules.RuleBase
      XRules.ValuesetRule

[Visual Basic]
Public Class ValuesetRule
    Inherits RuleBase
[C#]
public class ValuesetRule : RuleBase
[C++]
public __gc class ValuesetRule : public RuleBase
[JScript]
public class ValuesetRule extends RuleBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

This rule has the following XML syntax:

            <xr:bind target = "OrderType">
                <xr:valueset values="config('OrderTypes')/OrderType/@value"
                             texts="config('OrderTypes')/OrderType" />
            </xr:bind>
            
Or the following syntax:
            <xr:bind target = "OrderType">
                <xr:valueset>
                    <xr:enum value="Regular" text="Regular Order" />
                    <xr:enum value="Credit" text="Credit Order" />
                    <xr:enum value="Mail" text="Mail Order" />
                </xr:valueset>
            </xr:bind>
            

Requirements

Namespace: XRules

Assembly: XRules.DynamicDom (in XRules.DynamicDom.dll)

See Also

ValuesetRule Members | XRules Namespace