Table of Contents

Class NetworkingDevicePortCollection

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of networking device ports.

public class NetworkingDevicePortCollection : Collection<NetworkingDevicePort>, IList<NetworkingDevicePort>, ICollection<NetworkingDevicePort>, IList, ICollection, IReadOnlyList<NetworkingDevicePort>, IReadOnlyCollection<NetworkingDevicePort>, IEnumerable<NetworkingDevicePort>, IEnumerable
Inheritance
NetworkingDevicePortCollection
Implements
Inherited Members

Constructors

NetworkingDevicePortCollection()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.NetworkingDevicePortCollection class.

public NetworkingDevicePortCollection()

Methods

FindByIndex(int)

Returns the networking device port with the specified index, or null if no port with that index is found within the collection.

public NetworkingDevicePort FindByIndex(int index)

Parameters

index int

The unique index of the port.

Returns

NetworkingDevicePort

A CENTREL.XIA.Configuration.Types.NetworkingDevicePort with the specified index.

ResolvePortNames(SerializableIntegerCollection)

Resolves the port names from the specified port indexes.

public SerializableStringCollection ResolvePortNames(SerializableIntegerCollection portIndexes)

Parameters

portIndexes SerializableIntegerCollection

The port indexes for which the names are to be returned.

Returns

SerializableStringCollection

The port names from the specified port indexes.

Sort()

Sorts the values in order of the port index.

public void Sort()