Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NSelectorBuilder Class
Members


In This Topic
    NSelectorBuilder Class
    In This Topic
    Facilitates the authouring of selectors. An instance of this class can be obtained from the GetSelectorBuilder() method of each NRule.
    Object Model
    NSelectorBuilder Class
    Syntax
    'Declaration
     
    
    Public Class NSelectorBuilder 
    'Usage
     
    
    Dim instance As NSelectorBuilder
    public class NSelectorBuilder 
    Remarks
    The building of a selector starts by calling the Start() method. When finished call the End() to get a reference to the constructed selector.

    Selectors are created in right to left order. For example: // get a builder from the rule NSelectorBuilder sb = rule.GetSelectorBuilder(); // CSS selector: A B sb.Start(); sb.Type(NB.NBSchema); sb.DescendantOf(); sb.Type(NA.NASchema); sb.End(); // CSS selector: A > B sb.Start(); sb.Type(NB.NBSchema); sb.ChildOf(); sb.Type(NA.NASchema); sb.End();

    Inheritance Hierarchy

    System.Object
       Nevron.Nov.Dom.NSelectorBuilder

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also