SpiDevice.IsReplaceableBy Method

Determines whether a particular SPI device can be replaced by a specified emulator component.

Namespace: Microsoft.SPOT.Emulator.Spi
Assembly: Microsoft.SPOT.Emulator (in microsoft.spot.emulator.dll)

Syntax

 public override bool IsReplaceableBy (
         EmulatorComponent ec
)

Parameters

  • ec
    The emulator component with which you want to replace the SPI device.

Return Value

true if the SPI device can be replaced by the specified emulator component; otherwise, false.

Version Information

Available in .NET Micro Framework version 2.0

See Also

Reference

SpiDevice Class
SpiDevice Members
Microsoft.SPOT.Emulator.Spi Namespace