Edit

Share via


ComponentInformation Class

Definition

A class to provide informational data about system components and active drivers and bindings. An instance of this class is typically obtained by calling QueryComponentInformation on any supported object. The structure represents a tree of connected devices, e.g. a controller and its associated drivers.

public class ComponentInformation : IEquatable<System.Device.ComponentInformation>
type ComponentInformation = class
    interface IEquatable<ComponentInformation>
Public Class ComponentInformation
Implements IEquatable(Of ComponentInformation)
Inheritance
ComponentInformation
Implements

Remarks

This class is currently reserved for debugging purposes. Its behavior its and signature are subject to change.

Constructors

ComponentInformation(ComponentInformation)
ComponentInformation(Object, String)

Create a new instance of ComponentInformation

Properties

Description

The user-friendly name of the object

EqualityContract
Instance

The actual instance represented. This should only be used for querying information, not for operations on the object.

Name

The name of the type this instance represents.

Properties

A list of additional properties that belong to this object.

SubComponents

The list of subcomponents.

Methods

<Clone>$()
AddSubComponent(ComponentInformation)

Adds another component as subcomponent of this one

Equals(ComponentInformation)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
SubComponentsToString(StringBuilder, Int32)

Provides the string representation of all sub-components

ToString()

Creates a string representation of this object.

Operators

Equality(ComponentInformation, ComponentInformation)
Inequality(ComponentInformation, ComponentInformation)

Applies to