MtpDeviceInfo.IsOperationSupported(OperationCode) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果裝置是否支援該操作,則回傳。
[Android.Runtime.Register("isOperationSupported", "(I)Z", "GetIsOperationSupported_IHandler", ApiSince=24)]
public virtual bool IsOperationSupported(Android.Mtp.OperationCode code);
[<Android.Runtime.Register("isOperationSupported", "(I)Z", "GetIsOperationSupported_IHandler", ApiSince=24)>]
abstract member IsOperationSupported : Android.Mtp.OperationCode -> bool
override this.IsOperationSupported : Android.Mtp.OperationCode -> bool
參數
- code
- OperationCode
作戰代碼。
傳回
該裝置是否支援該操作。
- 屬性
備註
如果裝置是否支援該操作,則回傳。
Java 文件 android.mtp.MtpDeviceInfo.isOperationSupported(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。