Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NShape Class / Ports Property


In This Topic
    Ports Property
    In This Topic
    Gets or sets the ports collection. Creates a ports collection if it doesn't exist. Use the PortsNoCreate method if you don't want to create the ports collection.
    Syntax
    'Declaration
     
    
    Public Property Ports As NPortCollection
    'Usage
     
    
    Dim instance As NShape
    Dim value As NPortCollection
     
    instance.Ports = value
     
    value = instance.Ports
    public NPortCollection Ports {get; set;}
    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