Sage Modeling and Simulation Library

PortSet Methods

The PortSet type exposes the following members.


  Name Description
Public method AddPort
Adds a port to this object's port set.
Public method ClearPorts
Unregisters all ports.
Public method DeserializeFrom
Reconstitutes this object from the specified XmlSerializationContext.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Provides an enumerator over the IPort instances.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetKey Obsolete.
Looks up the key associated with a particular port.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RemovePort
Removes a port from an object's portset. Any entity having references to the port may still use it, though this may be wrong from an application perspective.
Public method SerializeTo
Stores this object to the specified XmlSerializationContext.
Public method SetSortOrder<(Of <<'(T>)>>)
Sorts the ports based on one element of their Out-of-band data sets. Following a return from this call, the ports will be in the order requested. The "T" parameter will usually be int, double or string, but it must represent the IComparable-implementing type of the data stored under the provided OOBDataKey.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)