Share via


Configuration.ConfigurationDescriptor Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Describes the properties of a device connected to a USB port.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Hardware.UsbClient. . :: . .Configuration. . :: . .Descriptor
    Microsoft.SPOT.Hardware.UsbClient..::..Configuration..::..ConfigurationDescriptor

Namespace:  Microsoft.SPOT.Hardware.UsbClient
Assembly:  Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)

Syntax

'Declaration
Public Class ConfigurationDescriptor _
    Inherits Configuration.Descriptor
public class ConfigurationDescriptor : Configuration.Descriptor
public ref class ConfigurationDescriptor : public Configuration::Descriptor
type ConfigurationDescriptor =  
    class
        inherit Configuration.Descriptor
    end
public class ConfigurationDescriptor extends Configuration..::..Descriptor

The Configuration..::..ConfigurationDescriptor type exposes the following members.

Constructors

  Name Description
Public method Configuration. . :: . .ConfigurationDescriptor Creates a new instance of the Configuration..::..ConfigurationDescriptor class.

Top

Methods

  Name Description
Public method Equals(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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
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 ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ATTRIB_Base Specifies a constant that indicates that an attribute value is not currently set.
Public fieldStatic member ATTRIB_RemoteWakeup Indicates that a device supports remote wakeup.
Public fieldStatic member ATTRIB_SelfPowered Indicates that the device does not draw its power from the USB port.
Public field bmAttributes Contains the attributes of a configuration descriptor.
Public field bMaxPower Holds the maximum power consumption in 2mA units.
Public field iConfiguration Specifies the index of the descriptor for this configuration.
Protected field index Specifies the descriptor's index number. (Inherited from Configuration. . :: . .Descriptor.)
Public field interfaces Contains the interfaces for this USB port.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SPOT.Hardware.UsbClient Namespace