GetController Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves a USB controller object.
Namespace: Microsoft.SPOT.Hardware.UsbClient
Assembly: Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)
Syntax
'Declaration
Public Shared Function GetController ( _
i As Integer _
) As UsbController
public static UsbController GetController(
int i
)
public:
static UsbController^ GetController(
int i
)
static member GetController :
i:int -> UsbController
public static function GetController(
i : int
) : UsbController
Parameters
- i
Type: System. . :: . .Int32
Holds the index number of the controller to be retrieved.
Return Value
Type: Microsoft.SPOT.Hardware.UsbClient. . :: . .UsbController
The USB controller.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.