GpioPinInfo.TryOpenOutput | tryOpenOutput method

TBD

Syntax

var result = gpioPinInfo.tryOpenOutput(initialValue, sharingMode);
var pin = result.pin;
var gpioOpenStatus = result.gpioOpenStatus;
public GpioOpenStatus TryOpenOutput(
  GpioPinValue initialValue, 
  GpioSharingMode sharingMode, 
  out GpioOutputPin pin
)
Public Function TryOpenOutput(
  initialValue As GpioPinValue,  
  sharingMode As GpioSharingMode,  
  <OutAttribute> ByRef pin As GpioOutputPin 
) As GpioOpenStatus
public:
GpioOpenStatus TryOpenOutput(
  GpioPinValue initialValue, 
  GpioSharingMode sharingMode, 
  [OutAttribute] GpioOutputPin^ pin
)

Parameters

Return value

Requirements

Minimum supported client

Windows 10 Technical Preview

Minimum supported server

Windows Server Technical Preview

Minimum supported phone

Windows 10 Technical Preview for phones

Namespace

Windows.Devices.Gpio Windows::Devices::Gpio [C++]

Metadata

Windows.winmd

See also

GpioPinInfo