IOutputSegment.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Write(Byte) |
Writes discrete underlying bits to a virtual segment. Writes each bit, left to right. Least significant bit will written to index 0. Does not display output. |
Write(ReadOnlySpan<Byte>) |
Writes discrete underlying bits to a virtual output. Writes each byte, left to right. Least significant bit will written to index 0. Does not display output. |
Write(Int32, PinValue) |
Writes a PinValue to a virtual segment. Does not display output until calling Display() or Display(CancellationToken ct) methods. |
Write(Byte)
Writes discrete underlying bits to a virtual segment. Writes each bit, left to right. Least significant bit will written to index 0. Does not display output.
public void Write (byte value);
abstract member Write : byte -> unit
Public Sub Write (value As Byte)
Parameters
- value
- Byte
Applies to
Write(ReadOnlySpan<Byte>)
Writes discrete underlying bits to a virtual output. Writes each byte, left to right. Least significant bit will written to index 0. Does not display output.
public void Write (ReadOnlySpan<byte> value);
abstract member Write : ReadOnlySpan<byte> -> unit
Public Sub Write (value As ReadOnlySpan(Of Byte))
Parameters
- value
- ReadOnlySpan<Byte>
Applies to
Write(Int32, PinValue)
Writes a PinValue to a virtual segment. Does not display output until calling Display() or Display(CancellationToken ct) methods.
public void Write (int index, System.Device.Gpio.PinValue value);
abstract member Write : int * System.Device.Gpio.PinValue -> unit
Public Sub Write (index As Integer, value As PinValue)
Parameters
- index
- Int32
- value
- PinValue
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for