Nevron .NET Vision
Nevron.Diagram Namespace / NShape Class / CanConnectPoints Method
foreign connection point
own connection point


In This Topic
    CanConnectPoints Method (NShape)
    In This Topic
    Called by own connection points to acknowledge the connection with a foreign connection point
    Syntax
    'Declaration
     
    
    Public Overridable Function CanConnectPoints( _
       ByVal foreignPoint As NConnectionPoint, _
       ByVal ownPoint As NConnectionPoint _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NShape
    Dim foreignPoint As NConnectionPoint
    Dim ownPoint As NConnectionPoint
    Dim value As System.Boolean
     
    value = instance.CanConnectPoints(foreignPoint, ownPoint)
    public virtual System.bool CanConnectPoints( 
       NConnectionPoint foreignPoint,
       NConnectionPoint ownPoint
    )

    Parameters

    foreignPoint
    foreign connection point
    ownPoint
    own connection point

    Return Value

    true if the connection is acceptable for the shape, 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