Table of Contents

Class VMwareVirtualHardwareDeviceBase

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

Represents a virtual hardware device in a VMware virtual machine.

public abstract class VMwareVirtualHardwareDeviceBase : GlobalSerializableClassicBase, IComparable<VMwareVirtualHardwareDeviceBase>
Inheritance
VMwareVirtualHardwareDeviceBase
Implements
Derived

Constructors

VMwareVirtualHardwareDeviceBase()

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

public VMwareVirtualHardwareDeviceBase()

Properties

AdvancedViewOnly

Gets whether this item type is displayed in advanced view only.

public abstract bool AdvancedViewOnly { get; }

Property Value

bool

CollectionIndex

Gets the index used by the data comparer.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

Remarks

This uses the device name and type to avoid datacomparison failure when, for example, the SCSI controller's type is changed.

ControllerId

Gets or sets the ID of the controller to which this device is connected.

public int ControllerId { get; set; }

Property Value

int

Description

Gets or sets the description of this hardware device, this is type dependant - for example "26,624 KB" for a virtual hard disk.

public string Description { get; set; }

Property Value

string

DeviceName

Gets or sets the name of the hardware device - for example "Network Adapter 1" or "Hard Disk 1".

public string DeviceName { get; set; }

Property Value

string

DeviceTypeDisplayName

Gets or sets the display name of this device type.

public string DeviceTypeDisplayName { get; set; }

Property Value

string

ID

Gets or sets the unique ID of the hardware device.

public int ID { get; set; }

Property Value

int

NativeDeviceType

Gets or sets the native device type - for example "VirtualBusLogicController".

public string NativeDeviceType { get; set; }

Property Value

string

UnitNumber

Gets or sets the unit number (e.g. SCSI port) that this device is connected to.

public int UnitNumber { get; set; }

Property Value

int

Methods

CompareTo(VMwareVirtualHardwareDeviceBase)

Compares two CENTREL.XIA.Configuration.Types.VMwareVirtualHardwareDeviceBase objects to allow sorting alphabetically by device name.

public int CompareTo(VMwareVirtualHardwareDeviceBase other)

Parameters

other VMwareVirtualHardwareDeviceBase

The CENTREL.XIA.Configuration.Types.VMwareVirtualHardwareDeviceBase to compare to.

Returns

int

The sort order of the two items.

ToString()

Returns the virtual hardware device as a human readable string.

public override string ToString()

Returns

string

The virtual hardware device as a human readable string.