Nevron .NET Vision
Nevron.Diagram Namespace / NConnectionPoint Class / Connect Method
inward port to connect to


In This Topic
    Connect Method
    In This Topic
    Connects this plug to the specified port
    Syntax
    'Declaration
     
    
    Public Overridable Function Connect( _
       ByVal inwardPort As NPort _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NConnectionPoint
    Dim inwardPort As NPort
    Dim value As System.Boolean
     
    value = instance.Connect(inwardPort)
    public virtual System.bool Connect( 
       NPort inwardPort
    )

    Parameters

    inwardPort
    inward port to connect to

    Return Value

    true if successufully connected, otherwise false
    Remarks
    If the point is connected to another inward port it will be first disconnect from it. Derived connection points may impose additional pre-connect disconnect actions.
    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