A strongly typed readonly collection of ports used in IGraph implementations.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

Syntax

C#
public interface IPortCollection : IEnumerable<IPort>, 
	IEnumerable
Visual Basic
Public Interface IPortCollection _
	Inherits IEnumerable(Of IPort), IEnumerable

Remarks

Normally, instances of this interface are obtained through the Ports property of IPortOwner instances, typically INode. This interface extends the IEnumerable<(Of <(<'T>)>)> interface which allows for convenient foreach iterations over all items.

See Also