Nevron .NET Vision
Nevron.Diagram Namespace / NConnectionContainer Class / DisconnectElements Method


In This Topic
    DisconnectElements Method
    In This Topic
    Disconnects the specified elements
    Syntax
    'Declaration
     
    
    Public Overridable Function DisconnectElements( _
       ByVal element1 As INElement, _
       ByVal element2 As INElement _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NConnectionContainer
    Dim element1 As INElement
    Dim element2 As INElement
    Dim value As System.Boolean
     
    value = instance.DisconnectElements(element1, element2)
    public virtual System.bool DisconnectElements( 
       INElement element1,
       INElement element2
    )

    Parameters

    element1
    element2

    Return Value

    true if after the operation element1 and element2 are disconnected, otherwise false
    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