Nevron .NET Vision
Nevron.Diagram Namespace / NPort Class / CanConnect Method
inward port


In This Topic
    CanConnect Method (NPort)
    In This Topic
    Determines whether this connection point can be connected to the specified inward port
    Syntax
    'Declaration
     
    
    Public Overrides Function CanConnect( _
       ByVal inwardPort As NPort _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPort
    Dim inwardPort As NPort
    Dim value As System.Boolean
     
    value = instance.CanConnect(inwardPort)
    public override System.bool CanConnect( 
       NPort inwardPort
    )

    Parameters

    inwardPort
    inward port

    Return Value

    true if point is not connected and can be connected
    Remarks
    Overriden to return false if this is not an outward port
    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