Nevron .NET Vision
Nevron.Diagram Namespace / NConnectionContainer Class / SingleConnectElement Method
element to single connect
element to connect to


In This Topic
    SingleConnectElement Method
    In This Topic
    Forces element1 to be only connected to element2
    Syntax
    'Declaration
     
    
    Public Overridable Function SingleConnectElement( _
       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.SingleConnectElement(element1, element2)
    public virtual System.bool SingleConnectElement( 
       INElement element1,
       INElement element2
    )

    Parameters

    element1
    element to single connect
    element2
    element to connect to

    Return Value

    true if after the operation element1 is single connected to element2, 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