共用方式為


DeviceManufacturerNotificationTrigger.OneShot 屬性

定義

取得是否只使用觸發程式一次。

public:
 property bool OneShot { bool get(); };
bool OneShot();
/// [get: Windows.Foundation.Metadata.Deprecated("DeviceManufacturerNotificationTrigger is deprecated and might not work on all platforms", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
bool OneShot();
public bool OneShot { get; }
public bool OneShot { [Windows.Foundation.Metadata.Deprecated("DeviceManufacturerNotificationTrigger is deprecated and might not work on all platforms", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = deviceManufacturerNotificationTrigger.oneShot;
Public ReadOnly Property OneShot As Boolean

屬性值

Boolean

bool

如果觸發程式只使用一次,則為 True。

屬性

適用於