Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NShape Class / GetPortByName Method


In This Topic
    GetPortByName Method (NShape)
    In This Topic
    Gets the first port with the specified name. Returns null if no such port exists.
    Syntax
    'Declaration
     
    
    Public Function GetPortByName( _
       ByVal name As System.String _
    ) As NPort
    'Usage
     
    
    Dim instance As NShape
    Dim name As System.String
    Dim value As NPort
     
    value = instance.GetPortByName(name)
    public NPort GetPortByName( 
       System.string name
    )

    Parameters

    name
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also