共用方式為


TorchControl.PowerSupported 屬性

定義

取得值,這個值會指定裝置是否允許變更手電筒筒 LED 電源設定。

public:
 property bool PowerSupported { bool get(); };
bool PowerSupported();
public bool PowerSupported { get; }
var boolean = torchControl.powerSupported;
Public ReadOnly Property PowerSupported As Boolean

屬性值

Boolean

bool

如果可以修改電源設定,則為true;否則為false

適用於