Nevron .NET Vision
Nevron.Diagram Namespace / NPortCollection Class
Members


In This Topic
    NPortCollection Class
    In This Topic
    The NPortCollection is a strongly typed collection containing NPort instances
    Object Model
    NPortCollection Class
    Syntax
    'Usage
     
    
    Dim instance As NPortCollection
    Remarks
    The NPortCollection provides a two types of default ports: a default inward port and a default outward port.

    The default inward port is controlled by the DefaultInwardPortUniqueId property. When set to Guid.Empty the the DefaultInwardPort property will return the first inward port in the collection. The default inward port is used in implicit connections when the inward port in the connection is not explicitly specified (e.g. in the FromShape, ToShape and OutwardShape property setters)

    Similarly the default outward port is controlled by the DefaultOutwardPortUniqueId property. When set to Guid.Empty the the DefaultOutwardPort property will return the first outward port in the collection. The default outward port is used in implicit connections when the outward port in the connection is not explicitly specified (e.g. in the OutwardShape property setter)

    Since the default ports are referenced by their ids, the NPortCollection class implements the INDiagramElementReferenceHolder interface.
    Inheritance Hierarchy

    System.Object
       Nevron.Diagram.NDiagramNode
          Nevron.Diagram.NDiagramElement
             Nevron.Diagram.NDiagramElementCollection
                Nevron.Diagram.NPortCollection

    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