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


In This Topic
    CreateConnection Method (NConnectionContainer)
    In This Topic
    Called to establish a new connection between the specified uids
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateConnection( _
       ByVal uid1 As System.Guid, _
       ByVal uid2 As System.Guid _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NConnectionContainer
    Dim uid1 As System.Guid
    Dim uid2 As System.Guid
    Dim value As System.Boolean
     
    value = instance.CreateConnection(uid1, uid2)
    public virtual System.bool CreateConnection( 
       System.Guid uid1,
       System.Guid uid2
    )

    Parameters

    uid1
    uid2

    Return Value

    true if a connection between uid1 and uid2 exists or has been created, otherwise false
    Remarks
    If the attribute is connected to an event sink this method will fire the Connecting - Connected events pair. If the attribute is connected to a history service this method will also record the state of the container prior to the change.
    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