Nevron .NET Vision
Nevron.Dom Namespace / NElementCompositeImpl Class / OnRemoving Method
the index of the node
node which will be removed


In This Topic
    OnRemoving Method (NElementCompositeImpl)
    In This Topic
    Called when a node is about to be removed from the base array list
    Syntax
    'Declaration
     
    
    Protected Overrides Function OnRemoving( _
       ByVal index As System.Integer, _
       ByVal node As INNode _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NElementCompositeImpl
    Dim index As System.Integer
    Dim node As INNode
    Dim value As System.Boolean
     
    value = instance.OnRemoving(index, node)
    protected override System.bool OnRemoving( 
       System.int index,
       INNode node
    )

    Parameters

    index
    the index of the node
    node
    node which will be removed

    Return Value

    true if node can be removed, otherwise false
    Remarks
    Overriden to record a remove element operation, if the implementation is connected to an element history service and unregister the element from the document, if the implementation is connected to a document.
    Requirements

    Target Platforms: 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