共用方式為


GpioPinProviderValueChangedEventArgs 類別

定義

提供 IGpioPinProvider.ValueChanged 事件的相關資訊。

public ref class GpioPinProviderValueChangedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Gpio.Provider.IGpioPinProviderValueChangedEventArgsFactory, 131072, "Windows.Devices.DevicesLowLevelContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GpioPinProviderValueChangedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Gpio.Provider.IGpioPinProviderValueChangedEventArgsFactory), 131072, "Windows.Devices.DevicesLowLevelContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GpioPinProviderValueChangedEventArgs
function GpioPinProviderValueChangedEventArgs(edge)
Public NotInheritable Class GpioPinProviderValueChangedEventArgs
繼承
Object Platform::Object IInspectable GpioPinProviderValueChangedEventArgs
屬性

Windows 需求

裝置系列
Windows IoT Extension SDK (已於 10.0.10586.0 引進)
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Devices.DevicesLowLevelContract (已於 v2.0 引進)

建構函式

GpioPinProviderValueChangedEventArgs(ProviderGpioPinEdge)

使用指定的邊緣值來建構 GpioPinProviderValueChangedEventArgs 類別。

屬性

Edge

取得釘選已變更的值。

適用於