共用方式為


IGpioPinProvider.IsDriveModeSupported(ProviderGpioPinDriveMode) 方法

定義

判斷針腳是否支援磁片磁碟機模式。

public:
 bool IsDriveModeSupported(ProviderGpioPinDriveMode driveMode);
bool IsDriveModeSupported(ProviderGpioPinDriveMode const& driveMode);
public bool IsDriveModeSupported(ProviderGpioPinDriveMode driveMode);
function isDriveModeSupported(driveMode)
Public Function IsDriveModeSupported (driveMode As ProviderGpioPinDriveMode) As Boolean

參數

driveMode
ProviderGpioPinDriveMode

所需的磁片磁碟機模式。

傳回

Boolean

bool

如果支援磁片磁碟機模式,則為 True;否則為 false。

適用於