Skip to main content
DataWriter.WriteBoolean | writeBoolean method

Applies to Windows and Windows Phone

Writes a Boolean value to the output stream.

Syntax


dataWriter.writeBoolean(value);

public void WriteBoolean(
  bool value
)

Public Sub WriteBoolean(
  value As Boolean 
)

public:
void WriteBoolean(
  bool value
)

Parameters

value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

The value.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

DataWriter