Share via


GetSpiPortsCount Method

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

Gets the number of SPI ports associated with this HardwareProvider.

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

Syntax

'Declaration
Public Overridable Function GetSpiPortsCount As Integer
public virtual int GetSpiPortsCount()
public:
virtual int GetSpiPortsCount()
abstract GetSpiPortsCount : unit -> int 
override GetSpiPortsCount : unit -> int 
public function GetSpiPortsCount() : int

Return Value

Type: System. . :: . .Int32
The number of SPI ports.

.NET Framework Security

See Also

Reference

HardwareProvider Class

Microsoft.SPOT.Hardware Namespace