Describes the device and service capabilities of a device.
| C# | Visual Basic |
public class ClassOfDevice
Public Class ClassOfDevice
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Device |
Returns the device type.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | ||
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MajorDevice |
Returns the major device type.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Service |
Returns supported service types.
| |
| ToString()()() |
Returns the numerical value represented in a hexadecimal.
(Overrides Object.ToString()()().) | |
| Value |
Gets the numerical value.
| |
| ValueAsInt32 |
Gets the numerical value, suitable for CLS Compliance.
|
Is returned by the properties BluetoothDeviceInfo.ClassOfDevice and BluetoothRadio.ClassOfDevice.
| Object | |
| ClassOfDevice | |