Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NSelectorBuilder Class / NthChild Method


In This Topic
    NthChild Method
    In This Topic
    Adds a new Nth child condition that matches if the element has Step * N + Offset siblings before it - normal specificity rank.
    Syntax
    'Declaration
     
    
    Public Function NthChild( _
       ByVal step As System.Integer, _
       ByVal offset As System.Integer _
    ) As NCondition
    'Usage
     
    
    Dim instance As NSelectorBuilder
    Dim step As System.Integer
    Dim offset As System.Integer
    Dim value As NCondition
     
    value = instance.NthChild(step, offset)
    public NCondition NthChild( 
       System.int step,
       System.int offset
    )

    Parameters

    step
    offset
    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