WriteBoolean Method WriteBoolean(string, bool) Writes a Boolean field. Declaration void WriteBoolean(string name, bool value) Parameters string name The name of the field. bool value The value of the field.