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。

适用于