Nevron .NET Vision
Nevron.Diagram Namespace / NPlug Class / ConnectToShape Method
shape to which to connect the plug


In This Topic
    ConnectToShape Method
    In This Topic
    Connects the plug to the specified shape
    Syntax
    'Declaration
     
    
    Public Overridable Function ConnectToShape( _
       ByVal shape As NShape _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPlug
    Dim shape As NShape
    Dim value As System.Boolean
     
    value = instance.ConnectToShape(shape)
    public virtual System.bool ConnectToShape( 
       NShape shape
    )

    Parameters

    shape
    shape to which to connect the plug

    Return Value

    true if successufully connected, otherwise false
    Remarks
    This method will connect the plug to the default port of the specified shape
    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